Re: [PHP] Sessions , expiry times and different time zones

2005-09-08 Thread Jordan Miller
As I said, **rather** than relying on cookie expiration. This *necessarily* means that you will need to set the cookie expiration to sometime way in the future, like next year (or more dynamically, use the date() and mktime() functions to always set the cookie expiration to + 1 yr from

Re: [PHP] Sessions , expiry times and different time zones

2005-09-07 Thread Mark Rees
Dan Rossi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

[PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Dan Rossi
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

Re: [PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Jordan Miller
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

Re: [PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Dan Rossi
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