Destroying a session!!!
| From: | Gabor Niederlaender | Date: | Tue, 14 May 2002 18:07:45 +0000 |
| Subject: | Destroying a session!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97599@lists.php.net to get a copy of this message | ||
Hi all!
I have seen a couple of discussions on the same topic, but even so I
do not really know how to destroy sessions.
I would like to achieve, that a second login after a logout generates
a wholly new session, with a new session id.
I have tried:
session_unset();
session_destroy();
and after every logout and re-login I get the same session...
What is the solution?
Thanks and
Best regards,
Gabor