Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] Cookies lifetime From: Denis Thuillier (dthuillier <email protected>)
Date: 03/18/99

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)

-----Message d'origine-----
De : "Denis Thuillier" <dthuillier <email protected>>
Groupes de discussion : php3.general
Date : vendredi 12 mars 1999 15:28
Objet : [PHP3] Cookies lifetime

Hello to everyone.

We are using php3 on a NT server with IIS3.
We have noticed that cookies don’t run the same time depending on the
navigator and on the computers.
The navigators are IE4 and Netscape 3. On some computers, a cookie which is
supposed to run for one hour runs in fact for about 1 min 20.
The problem doesn’t seem to come from the navigator configuration as the
same configuration on two different computers gives different cookies
lifetime.
If Netscape 4 is used, there is no problem, whatever the machines.
If anyone has any suggestions, thanks to let me know.
Thank you.

Denis Thuillier

--
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>

---

-- 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>