Forums

ASP

This topic is locked

Session timeout

Posted 25 Jul 2003 18:47:40
1
has voted
25 Jul 2003 18:47:40 todd b. posted:
i would like to automatically log out idle users (session timeout) after 20 minutes.

does anyone know how to do this?

thanks in advance

Edited by - vineire on 04 Aug 2003 18:29:53

Replies

Replied 14 Aug 2003 19:38:01
14 Aug 2003 19:38:01 Touti P replied:
Just add the following META tag to the top of your page. This tag redirects the user to a page that you create which in my case is SessionExpired.asp. Within that page, you can ask the user if they would like to log back in by having a hyperlink to the Login page. The default timeout is 20 minutes so no need to worry about changing it. Good luck!

<META HTTP-EQUIV="refresh" CONTENT="1200; URL=SessionExpired.asp">

Reply to this topic