note 33786 added to ref.session
| From: | moparman at interware dot hu | Date: | Mon, 07 Jul 2003 23:20:40 +0000 |
| Subject: | note 33786 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51651@lists.php.net to get a copy of this message | ||
i was write a shopping cart script which use sessions.
when i'm logged in, put some items in the cart then logout.
i was looking: the session was succesfully destroyed with unset.
But when i'm login again, i take the same session id!!! and i look the cart's content!!
when i logout and login again why keep the session id? i need new session id.
please help!
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33786
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33786&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33786&report=yes