Close session when users idle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • visweswaran2830
    New Member
    • Nov 2009
    • 92

    Close session when users idle

    Hi,


    I want to know, how to close a session when a user is idle (around 'n' time) in asp.net.
  • Christopher Nigro
    New Member
    • Jul 2010
    • 53

    #2
    You do not have to manually close the session after a user is idel for n seconds. You just set the session timeout to the desired time and ASP.NET closes the session when that time is exceeded. You can set the session timeout in web.config.

    Comment

    • visweswaran2830
      New Member
      • Nov 2009
      • 92

      #3
      Thanks for your response. Could you give me some idea little bit more. Since I am new to this concept.

      Comment

      Working...