RE: [PHP] can't restart session

From: Date: Mon, 21 Jul 2003 20:47:28 +0000
Subject: RE: [PHP] can't restart session
Groups: php.general 
Request: Send a blank email to php-general+get-156136@lists.php.net to get a copy of this message
CPT John W. Holmes <mailto:holmes072000@charter.net> on Monday, July 21, 2003 1:32 PM said: > Well, it can, and it does. I guess it's all in how you use it. If my > session id is "abcd", then when I log out, your program should erase > all of the data in the session and forget that it ever knew about a > session called "abcd". That way, even if I log in with the same > session (since the cookie wasn't deleted, probably, which is probably > the cause of this whole problem), then I will be a new user and not > related to the old user/session in any matter. Ok that makes sense. Then in this case, what can you see that I'm doing wrong that isn't deleting the cookie? In my first post I showed that one of the versions of the logout page that I used had this line in it. setcookie("user_info","",(time()-3600),"/"); Shouldn't that take care of the cookie? c.

« previous php.general (#156136) next »