Last post May 12, 2017 06:30 AM by Eric Du
May 11, 2017 12:48 PM|Dharam29pal|LINK
I have a web application with custom login form. User login for the first time and do his stuff. User then logout and redirected to login page but do not close the tab or window of that login page. When user login again after sometimes(lets say 1 hour) he
gets directed to home page but when he clicks anywhere(on any link or button) he gets automatically get logged out and redirected to login page. And when user login again second time then the web application runs perfectly... Pls Help...
May 12, 2017 06:30 AM|Eric Du|LINK
I think you could configure session timeout in the web.config, you could set the time in the web.config, then when the session timeout, redirect the page.
For more details, please refer to this sample:
Automatically redirect User after Session Timeout in ASP.Net：