Outside the Cube
About this site
Links to us
Outside the Cube
Male Dating Scammers,
Generated 16:02:25 on Oct 25, 2020
Can log into web site using FireFox, but not using Internet Explorer
Question: I can log into our corporate web site if I use FireFox, but not if I use Internet Explorer. It's FireFox 1.5 and IE 6.0
Answer: Does your web site use a cookie to keep the session / you authenticated? I looked at your system and found that your server sends a cookie that expires within 10 minutes. Then I found that your server time was a full hour behind the client machine.
The cookie contains
the expiration time as a string in this format:
.. expires: 18:15 GMT..
In the specific case, the server time was 1 hour behind. The client computer had a current time of 19:05 GMT and the cookie had actually expired 50 minutes ago (instead of going to expire in +10 minutes)
Firefox ignores this and still accepts the cookie, even though it expired in the past. One could consider this to be a bug.
Internet Explorer is more strict and rejects this cookie (as it should!)
The solution is that the server should have the correct time. The client machine ideally should also have the correct time, at least within 5 minutes.
Since the cookie is set to expire in 10 minutes, it would be problematic if the client machine's clock is 10 ore more minutes "fast".
It will not be a problem if the client machine is "behind" on the time ("slow clock").
For the server, it is a problem if the server is "behind" ("slow server clock"). It is not a problem if the server clock is "fast" (ahead).
But best is, simply to have all involved machines use ntp to have correct time.
|Most recent comments