Destroying the Session Object
| From: | Jacques | Date: | Fri, 18 Feb 2005 18:41:11 +0000 |
| Subject: | Destroying the Session Object | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209051@lists.php.net to get a copy of this message | ||
I am developing an application. When the user signs in a Session ID is
created (for argument sake: 123). I have a sign out page that has the script
session_destroy() on it. This page directs me to the sign in page. When I
sign the same or any other user in again I get the same session id (123).
However, when I close the browser window and sign in again as any member,
the session id changes.
How does this work and how can I ensure that a unique session id is
allocated to every new user that signs in?
Jacques