Re: hi reg jsp page redirect
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 20:43:40 GMT
<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
.
- References:
- hi reg jsp page redirect
- From: arvindkannan1
- hi reg jsp page redirect
- Prev by Date: Re: How to set classpath in a program?
- Previous by thread: Re: hi reg jsp page redirect
- Index(es):
Relevant Pages
|
|