Logging out a user
| From: | Chris Aitken | Date: | Mon, 26 Feb 2001 03:22:04 +0000 |
| Subject: | Logging out a user | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41639@lists.php.net to get a copy of this message | ||
Okay, I got a bit of a curley one that I havent been able to solve by looking at the archives and in the manual. Its kind of a PHP/Apache question.
I have a system where a user logs in through .htaccess, it queries my mysql database, sets a cookie which logs their username and access level number.
What I want to be able to do it this.......... Give the option to "Log Out" which will clear the cookie, and also make htaccess re-request a login. Once it logs in again, the current scripts do their thang and log the new user in.
Is there any direction anyone can point me to start looking cause I have a feeling im off the track on what im searching for in TFM and in TFA.
Chris
--
Chris Aitken - Webmaster/Database Designer - IDEAL Internetemail: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890
--------------------------------------------
Unix -- because a computer's a terrible thing to waste!