[Ilugc] how to make any html page expire ?
- From: manokaran@xxxxxxxxx (Mano)
- Date: Thu May 4 14:43:35 2006
On 5/3/06, Raja Mallik <raja.mallik@xxxxxxxxxxx> wrote:
Hi all,
I am trying to set timers for all web pages for certain time say 60 sec.
After that if I wish to go for any other reference page or the same
page, I should get a login prompt.
You should maintain the session at the server and have the session time-out
at the server if there has been no activity from the client for more than 60
secs (pretty low, I feel!).
I have captured ethereal data from such design and found a few info
added before the HTML data as:.. Can anybody explain what setup is
required in Apache or Boa sever to achieve this?
HTTP is a stateless protocol. So you cannot achieve this by configuring a
http server. You need to use a session handling module (perhaps written in
PHP/PERL/Python/Ruby/etc) which will do this for you.
Hope this helps.
regds
--
Never be afraid to try something new. Remember, amateurs built the
ark; professionals built the Titanic!
Other related posts: