Re: destroy_session
| From: | Norman Zhang | Date: | Thu, 09 May 2002 16:24:15 +0000 |
| Subject: | Re: destroy_session | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96831@lists.php.net to get a copy of this message | ||
I thought session_unset() === $_SESSION=array();
The problem is when I hit the back button the web browser will ask me to
resend the data. If I choose yes, the old data redisplays again. How do I
make it a real logout?
Regards,
Norman
"Kirk Babb" <kbcd@worldnet.att.net> wrote in message
news:20020509025708.74298.qmail@pb1.pair.com...
If you used $_SESSION, how about
$_SESSION=array();
It's in the manual
http://www.php.net/manual/en/ref.session.php