php3-list | 199903
Date: 03/18/99
- Next message: Chad Cunningham: "Re: [PHP3] OS X Server"
- Previous message: Andrew Smith: "RE: [PHP3] Objects"
- In reply to: Denis Thuillier: "Re: [PHP3] Cookies lifetime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I finally find the solution.
>
> The problem comes from time zone, IE4 and Netscape3 calculate cookie
> lifetime with GMT time. The server and the remote machine have to be in the
> same time zone.
>
> Example:
> If the server is set to be in GMT (Greenwich) and the remote machine is set
> to be GMT (Paris, Madrid) (+1h)
> the cookie lifetime will be 1h(cookie time) - 1h(Greenwitch-Paris) = 0.
>
> (In fact I have set my cookie time()+3700 then 3700-3600=100s=1mn20)
I have found that Netscape understands the cookies as GMT dates, but
IE does understand them as local dates (which makes no sense).
Regards,
J-M
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Chad Cunningham: "Re: [PHP3] OS X Server"
- Previous message: Andrew Smith: "RE: [PHP3] Objects"
- In reply to: Denis Thuillier: "Re: [PHP3] Cookies lifetime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

