note 38818 added to function.session-destroy
| From: | vdlatty at hotmail dot com | Date: | Wed, 07 Jan 2004 21:02:44 +0000 |
| Subject: | note 38818 added to function.session-destroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63107@lists.php.net to get a copy of this message | ||
assume this
you start a session - and vars.
then you delete those vars and destroy that session.
then you add more vars to that session [as if someone logged in then logged out then tried to login
again]
you will get this error...
Warning: session_destroy(): Trying to destroy uninitialized session
i believe this is an error - because it says nothing in manual - that i've seen. basically i
want to start another session - of course only once per page - say a one page site with flash. do i
do this only by adding to the first session.
i want to do this
start()
$_session[f]='n'
session_destroy() // assumed true
$_session[f]='n'
.....
session_destroy()
$_session[f]='n'
....
any suggests
d8v15
----
Manual Page -- http://www.php.net/manual/en/function.session-destroy.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38818
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38818&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38818&report=yes
Search -- http://master.php.net/manage/user-notes.php