note 19651 added to function.session-destroy
| From: | jwillis at cs dot ucr dot edu | Date: | Wed, 06 Mar 2002 22:37:24 +0000 |
| Subject: | note 19651 added to function.session-destroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27435@lists.php.net to get a copy of this message | ||
I have the same problem as was@utopia.
I think the problem lies in the fact that, atleast in my case, when I want to log a user out I pass
them from index.php to logout.php. logout.php attempts to call session_destroy(). This is where the
error comes from. I was under the impression that the browser kept a record of which session was
active and would therfore be able to destroy it from any page. Am I wrong?
--
http://www.php.net/manual/en/function.session-destroy.php
http://master.php.net/manage/user-notes.php?action=edit+19651
http://master.php.net/manage/user-notes.php?action=delete+19651
http://master.php.net/manage/user-notes.php?action=reject+19651