Hi All,
I have the following problem with a few ASP pages. Upon loging on, a new session variable is created. Let's say the user access certain pages and then leave it idle for more than 20 minutes (or more than the session.timeout property).
The user than reaccess the web page and i would like to redirect the user to another page, ie, the login page because the session has timeout. What would be the best approach to do this? Do i have an Include file that has a code in all of the web page that checks whether the session variable has been destroyed and then redirect the user to that page or is there another method?
Thanks for any advice.
I have the following problem with a few ASP pages. Upon loging on, a new session variable is created. Let's say the user access certain pages and then leave it idle for more than 20 minutes (or more than the session.timeout property).
The user than reaccess the web page and i would like to redirect the user to another page, ie, the login page because the session has timeout. What would be the best approach to do this? Do i have an Include file that has a code in all of the web page that checks whether the session variable has been destroyed and then redirect the user to that page or is there another method?
Thanks for any advice.