Sessions in asp.net

Posted by Indranil Mutsuddy on Stack Overflow See other posts from Stack Overflow or by Indranil Mutsuddy
Published on 2010-04-20T06:19:37Z Indexed on 2010/04/20 6:23 UTC
Read the original article Hit count: 429

Filed under:
|

Hello

i have a login page so once the user enters the correct details he enters into the home page. Now i want to implement 3 things

  1. once he clicks the button 'log out' he must be redirected to a page saying" logged out successfully " n even if clicks the back button in the browser, he should not be able to access.

  2. if the user leaves the homepage idle for a specific amount of time say 10minutes and then he tries to navigate after 10 mins a msg should display saying "Your Session has been expired login again"

  3. if given the url of homepage he shouldnt be able to access unless logged in. I am not sure about what exactly i need to do and how to do. Plz Help Regards

Indranil Mutsuddy

© Stack Overflow or respective owner

Related posts about sessions

Related posts about ASP.NET