Re: hi reg jsp page redirect




<arvindkannan1@xxxxxxxxx> wrote in message news:1149092960.300356.66880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi all i have jsp page -where the user fills up some fields.basically i
dont want user to fill up those forms during nightime . so
i take system time which is cst and calculate whether its am or pm and
if its between 7pm and 6am i redirect saying u cannot fill it up.

the executables are placed in server which is located in cst time zone.

what happens is when any person from asian counties click the link its
not redirecting its still shows the form .

when i test it locally its fine .any help cant i take the system time
and redirect based on that

thanks for the help

When you say "cant i take the system time", do you mean the time local to where the user is, or to where your server is?

If the answer is the user, the answer is "no". Otherwise, the answer is "yes".

- Oliver

.



Relevant Pages

  • Re: hi reg jsp page redirect
    ... if its between 7pm and 6am i redirect saying u cannot fill it up. ... the executables are placed in server which is located in cst time zone. ... when i test it locally its fine .any help cant i take the system time ...
    (comp.lang.java.help)
  • Re: hi reg jsp page redirect
    ... if its between 7pm and 6am i redirect saying u cannot fill it up. ... the executables are placed in server which is located in cst time zone. ... when i test it locally its fine .any help cant i take the system time ...
    (comp.lang.java.help)
  • Re: Nasty problem with time service after installing SP1.
    ... I didn't do nothing special when upfrading w2k3 server to SP-1. ... > remove the privileges from LocalService, not only does W32Time keep running ... > system time, and there the knowledgebase article comes into play. ... >> account and added the single privilege that it needed. ...
    (microsoft.public.windows.server.general)
  • Re: timesvc problem synchronizing time
    ... The timezone of the WinCE device (time client) is set to "W. ... After timesvc has get the time from the server, ... returns the system time of the server - 1hour. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [SLE] date problem
    ... With a system time that screwed up, you really need to be running an NTP ... The client can be fully configured from within YaST, ... You can edit the parameters for each chosen time server. ...
    (SuSE)