Newbie question: Unable to destroy sessions
| From: | Mike Flynn | Date: | Sat, 23 Dec 2000 18:25:07 +0000 |
| Subject: | Newbie question: Unable to destroy sessions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4642@lists.php.net to get a copy of this message | ||
Hey all,
I am new to the list. I'll bet this question has been asked, but I can't
find conclusive answers anywhere on the net. Perhaps if you have some
experience with this problem, you could reply privately? Thanks!
I am trying to get sessions running and have no problem initializing them
and having the data move along with the user, whether using cookies or just
the SID in the get string.
But, I can't destroy sessions under either method. I get the good old
error message:
Warning: Session object destruction failed in c:\web\cel\admin\index.php on
line 40
Basically I have an admin system on my site, and I only need the sessions
to carry some info through the different parts of the admin system. But
the session should be destroyed when the user logs out. It doesn't need to
persist beyond the user's admin session. So I do need to get the
session_destroy() working.
If anyone could please give me some assistance with this it would be most
appreciated!
Thanks!
-Mike Flynn