Hi,
I need to restrict the access to my website, when i'm doing some
operation/(running some servlet) locally on my PC. Is there a way i can
set an application scope variable and retrict the access to the website
when that particular flag is true.
Appreciate your inputs
Manish Pandit - 18 Dec 2006 22:02 GMT
Not sure what you are trying to achieve by doing this, but in real
world web applications, this is normally achieved by having the server
point to a context/another server that presents downtime information
and alternatives/ETC while the app is down. I am no network expert, but
you might want to look into this option instead of coding your
application around a down/up variable.
-cheers,
Manish