RE: [PHP] cookies and clocks

2001-04-25 Thread Maxim Maletsky
my advise : use that as less as possible, whatever is on the client side could be easy to hack, and not every browser understand JavaScript either. Use cookies, 1-200 is out - means they are unable to use your service : they chousen it that way. Sincerely, Maxim Maletsky Founder, Chief Dev

Re: [PHP] cookies and clocks

2001-04-25 Thread Rasmus Lerdorf
> I have a cookie that times out after an hour for security reasons. > About 1 out of 200 of my users send me an email saying they can't log > into my site and I find out that it's usually because their clocks > are off. Has anyone had any luck using the time on the client to set > cookies by inst

Re: [PHP] cookies and clocks

2001-04-25 Thread Mark Maggelet
On Wed, 25 Apr 2001 17:48:48 -0700 (PDT), Rasmus Lerdorf ([EMAIL PROTECTED]) wrote: >> I have a cookie that times out after an hour for security reasons. >> About 1 out of 200 of my users send me an email saying they can't >>log >> into my site and I find out that it's usually because their clocks

Re: [PHP] cookies and clocks

2001-04-25 Thread Mark Maggelet
On Wed, 25 Apr 2001 17:32:44 -0700, DanO ([EMAIL PROTECTED]) wrote: >look at it this way: > >you are dealing with an INTERVAL of time, thus the only reason you >really need javascript is in the construction of a date object. as far as I know the only way to set a cookie's expiration is with an ex

Re: [PHP] cookies and clocks

2001-04-25 Thread DanO
look at it this way: you are dealing with an INTERVAL of time, thus the only reason you really need javascript is in the construction of a date object. you can either import that object into php as a string, or you can actually go the extra mile and set the cookie in javascript. HTH, DanO "Ma