Posted on: 4/15/2015 9:09:31 PM | Views : 725

I want to display a message to users like below, after 20 mins of inactivity.
"You have been logged out, please login again" Specifically, for example, a user logs in, after 20 mins inactivity, s/he clicks any links on the page, s/he will be redirected to the Login page via the built-in FormAuthModule, and the message above will be displayed on the Login page. Considerations 1) It is `forms auth` time out (The `Forms` element), not `session` time out (`SessionState` element) 2) Ideally, I don't want to change the built-in Form Auth's redirection logic, to use JavaScript. 3) Forms Auth module only modifies forms auth ticket after half of period. Please find relevant article below:
Quoted below: "Forms auth tickets aren't actually updated until half of the time goes by. So if you have timeouts set to an hour and send in one request ...

Go to the complete details ...