Re: Checking clients computer time to prevent SSL errors

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



mags said the following on 1/11/2006 1:33 AM:
We get calls from clients who have difficulty logging in due to their
clock being too far from our servers clock and therefore the SSL
authentication fails. Has anyone tried using JavaScript to identify
this issue (eg the clocks being too far out of sync (around 10 minutes)
and alerting the client via a popup or something?

Never done it but it is trivial to do it. Have an intermediate page that redirects them to the actual login page with the current time appended. Then have the server deal with the differences.


location.href="somePage.asp?"+new Date().getTime();
And then have somePage.asp read the querystring and give a message that the date on the PC is too far out of sync with your servers time.


Or, don't use the user's time at all and use the server's time all the time. Which is the best way to do it.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.



Relevant Pages

  • Re: Help with xntp config ( xntpd on AIX 5.1 and 5.2 )
    ... >I would also like one server in the other 3 environments to sync to ... >same environmentwould sync to these 3 systems. ... set both of these two machines as servers. ... Also, for the two servers, configure a local clock at some low-priority ...
    (comp.unix.admin)
  • Re: Running a simple batch file at startup
    ... What you may not know is that the hardware clock (for which the wafer ... servers in a registry key so you can select from one of them). ... can be a week, or more, before the time service decides to sync your OS ...
    (microsoft.public.windowsxp.general)
  • all servers rejected
    ... Can anyone tell me why may ntpd just silently reject all the specified ... servers, and fail to set the system clock, without even dropping a note ... me not having clock sync at all than to sync to a "relatively ...
    (comp.protocols.time.ntp)
  • Re: NTP Sync Issues
    ... servers are experiencing. ... Subject: NTP Sync Issues ... This happens either because of two conflicting time synchronisation ... clock interrupts, especially when using IDE devices in non-DMA modes. ...
    (comp.protocols.time.ntp)
  • Re: synchronization
    ... At the maximum slew rate of 500 parts per million, it will take several hours to bring your clock into synchronization. ... ntpd should set the clock unconditionally at startup; e.g. it should query the servers to find out what time it is and then set your clock to that time. ... Look for servers near you in geographical space and test them for nearness in net space (low round trip delays). ...
    (comp.protocols.time.ntp)