cookies and clocks

From: Date: Thu, 26 Apr 2001 00:16:06 +0000
Subject: cookies and clocks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50392@lists.php.net to get a copy of this message
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

« previous php.general (#50392) next »