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
"Mark Maggelet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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 instead of server time? I hate using javascript for this
but I don't see much choice.
thanks,
- Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]