You are here: Re: [PHP] Sessions , expiry times and different time zones « PHP « IT news, forums, messages
Re: [PHP] Sessions , expiry times and different time zones

Posted by Dan Rossi on 09/07/05 04:51

client cookie expires hence no more session ...

On 07/09/2005, at 1:57 AM, Jordan Miller wrote:

> Hi Dan,
>
> Couldn't you store an expiration time directly in the $_SESSION
> variable, rather than relying on cookie expiration (if I understand
> your question correctly)? Each time a page is loaded, update the
> expiration time in this variable to +24hr from the current time (all
> times relative to the server's time). Then, it shouldn't matter from
> which time zone the user is browsing.
>
> Jordan
>
>
>
> On Sep 6, 2005, at 10:37 AM, Dan Rossi wrote:
>
>
>> hi there I have run into problems with sessions , cookies and expiryt
>> times with different time zones. Ie our server is in the States
>> however I am browsing from Koala land downunder. I have been trying
>> to get the session to expire in a day, however for ppl in the states
>> this is ok, but for me its already expired so i have been
>> experiencing issues. How do i solve this ?
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация