Current time: 12-23-2024, 05:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
Login from website to ispCP
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Login from website to ispCP
You can not create the session directly into the database, since the corresponding session file (located in /var/www/ispcp/gui/phptmp) will be missing.

What you should do is:

1. Login the user by submitting a proper POST request to the login page (as if it was a guy with a browser performing the login).
2. Update the "ipaddr" field in the "login" table of the ispcp database.
3. Redirect the user to ispcp.
03-20-2011 04:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Login from website to ispCP - davidxone - 03-20-2011, 02:05 AM
RE: Login from website to ispCP - kilburn - 03-20-2011 04:48 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)