setcookie IE6 problem
| From: | Javier Montserat | Date: | Thu, 29 Aug 2002 11:39:14 +0000 |
| Subject: | setcookie IE6 problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114500@lists.php.net to get a copy of this message | ||
I'm setting a session cookie with the following code -
function setSessionCookie(){
$expires = time()+$this->session_expires;
$issetCookie = setcookie("$this->cookiename",
"$this->sess_id",
"$expires",
"/",
""
);
}
Occasionally setcookie seems to fail in IE6, or perhaps when I subsequently retrieve the cookie as a part of the authentication code on each page IE6 fails to pick up the cookie - either way I get logged out.
Other browsers (NS4, IE5, IE5.5) seem okay.
Any Ideas?
Javier
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com