Conor Lynch said on Wed, Nov 28, 2001 at 03:14:09PM -0000:
> Hi there,
> I am using Apache 1.3 (connecting to Oracle IAS 9 database).
>> Currently, a member logs onto our site, we create a session for the member
> the sessions are deleted after 10 minutes on the database side.
> If the user clicks Submit, the they will be told the session has expired and
> a login page
> will appear.
>> So, is there anyway I can bring up a page stating "Your session has expired"
> automatically
> if the user does nothing for 10 minutes (rather then waiting for the user to
> do something
> and then tell them the session has expired).
>You could try it with javascript timeout.. Something like
setTimeout("top.location.href = 'http://www.somewhere.com/'",600000);
which would redirect regardless after 10 minutes. If someone has javascript
disabled, then it could just default to giving the message after they next do
something.
- DoC
--
We love the winter, | <doc at redbrick.dcu.ie>
...it brings us closer together. | Asleep? Moi?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!