Re: Cookies Expiring due to different time zones.
- From: Hans Kesting <news.2.hansdk@xxxxxxxxxxxxxxx>
- Date: Fri, 08 Dec 2006 14:04:57 +0100
Actually its not exactly the time zone problem. Problem is that many
users in my country do not really have maintained PCs, which mean that
there is a high possibility that their PC date is not correct. My
cookie is setting time according to my server. If some one tries to
login on 8th December and his PC has the date 20th July then he is
just not able to login. Is there any way I can set cookie expiration
time according to client PC. I am showing a warning on the 'Trouble
Login Page?' but we all know that people take this as a developmnt
fault instead of thinking that this is how technology is supposed to
work. You just can't give this excuse to users :(
Maybe this:
on the login page, add some javascript function that automatically fills some hidden input with the current date/time, as reported by the client PC. Use this date as the basis for your cookie timeout (as an absolute expiry date).
Hans Kesting
.
- References:
- Cookies Expiring due to different time zones.
- From: Omer
- Re: Cookies Expiring due to different time zones.
- From: Juan T. Llibre
- Re: Cookies Expiring due to different time zones.
- From: Omer
- Cookies Expiring due to different time zones.
- Prev by Date: ASP.Net 2.0 : how to set the selectedrow
- Next by Date: Re: Random NT Authority/Anonymous Login Errors - REALLY NEED HELP.
- Previous by thread: Re: Cookies Expiring due to different time zones.
- Next by thread: Re: Cookies Expiring due to different time zones.
- Index(es):
Relevant Pages
|
Loading