Re: setcookie IE6 problem
| From: | (Gregory Barker) | Date: | Thu, 29 Aug 2002 11:49:19 +0000 |
| Subject: | Re: setcookie IE6 problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114501@lists.php.net to get a copy of this message | ||
MS has introduced p3p policy in IE6 which has impacted on cookies etc. If
the site or host does not have a machine generated xml privacy statement,
then stability with regards
to cookies is not guaranteed. Do a search and read up about it. Check out
w3c's site.
----- Original Message -----
From: "Javier Montserat" <codareef@hotmail.com>
To: <php-general@lists.php.net>
Sent: Thursday, August 29, 2002 1:39 PM
Subject: [PHP] setcookie IE6 problem
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>