note 25241 added to function.setcookie
| From: | zemartino84 at hotmail dot com | Date: | Mon, 16 Sep 2002 09:44:15 +0000 |
| Subject: | note 25241 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36736@lists.php.net to get a copy of this message | ||
Looking at all reply's here, I can't find an answer to a simple problem (I suppose
it's rather simple). Users can choose whether or not to save their login information. Saving
the info works fine, but the single session option doesn't. The problem is that the browser
keeps the user information anyway, after closing the browser window and deleting all cookies. By
deleting the cookie immediately after logging in, it works, but I need the session information on
the pages, so this is not an option. Also, not setting expiration date or setting it to zero
doesn't work. Likewise, using quotes or not has no effect.
Browser is IE 5.5
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+25241
http://master.php.net/manage/user-notes.php?action=delete+25241
http://master.php.net/manage/user-notes.php?action=reject+25241