Re: Fw: [PHP] logout
| From: | Reuben D Budiardja | Date: | Tue, 27 Feb 2001 23:18:30 +0000 |
| Subject: | Re: Fw: [PHP] logout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41888@lists.php.net to get a copy of this message | ||
Bassically what you wanna do is to delete all the variables you set up when the user log in. So, if you gave the session ID when a user log in, delete if from the database when user log out.
Reuben D. B
At 03:52 PM 2/27/01 -0600, Jacky@lilst wrote:
Jack jacky@activelifestyle.com "There is nothing more rewarding than reaching the goal you set for yourself" ----- Original Message ----- From: Jacky@lilst <jacky@activelifestyle.com> To: Yamin Prabudy <phplist@pro.net.id> Cc: <php-general@lists.php.net> Sent: Tuesday, February 27, 2001 3:49 PM Subject: Re: [PHP] logout Sorry, it was my mistake. There is session used to store userID and password after the successful login. I don't under stand what you mean about to clean up variables, how? Jack jacky@activelifestyle.com "There is nothing more rewarding than reaching the goal you set for yourself" ----- Original Message ----- From: Yamin Prabudy <phplist@pro.net.id> To: Jacky@lilst <jacky@activelifestyle.com> Sent: Tuesday, February 27, 2001 2:40 AM Subject: Re: [PHP] logoutbut still you had the variable hanging on the cookies while you arerunningthe login function... just clean out all the variables and then you had a log out function(cleanall the cookies) if you don't used cookies how do you transfer all theloginvariable ? ----- Original Message ----- From: Jacky@lilst <jacky@activelifestyle.com> To: <php-general@lists.php.net> Sent: Wednesday, February 28, 2001 4:14 AM Subject: [PHP] logout I have php site that user is required to login, but I don't have logout function yet. Is there anyone know the most practical way of logoutmethodthat people use nowadays?, in php I mean. There is no session or cookies used in this site. Jack jacky@activelifestyle.com "There is nothing more rewarding than reaching the goal you set for yourself"-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net