Click here to Skip to main content
15,613,627 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,

I have build one application, n the client want this as, when the browser is ideal for few minutes, it should automatically log-out from the application n redirect to login page.

I have already tried this:

<meta content="200;URL=Logout.aspx" http-equiv="refresh" />

But, this is log out from the page but not in ideal,

means: whether it is ideal or not, it redirecting to login page for every 4mins.

Plzzz, suggest me.


Modify your web.config like this:

     <sessionState timeout="20"></sessionState>
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900