Why not change the web.config settings to 15 minutes? Otherwise, you could of
course save a timestamp in a session variable after login, create a base web
page and make every web page inherit from it. Add a method to the base web
page which checks if the timestamp is older then 15 minutes. If it is, call
Session.Abandon(); and do a Response.Redirect to your login form. Hth.
Kind regards,
Nikander & Margriet Bruggeman
"enahar" wrote:
Hi,
How to timing out the asp.net web application when not in use for 15 minutes
although I am using the code in web.config file as below:
<authentication mode="Forms">
<forms loginUrl="Security/Login.aspx" protection="All" timeout="20" path="/"
/>
</authentication>
Thanks