Results 1 to 3 of 3

Thread: To show the session timeout in ASP.NET

  1. #1
    Join Date
    Jan 2009
    Posts
    10

    To show the session timeout in ASP.NET

    Hi
    I am trying to code the ASP.net page so that i can tell a user that the session is expired due to timeout as a popup or message.
    What is the way to do this?

  2. #2
    Join Date
    Jan 2009
    Posts
    44

    Re: To show the session timeout in ASP.NET


  3. #3
    Join Date
    May 2008
    Posts
    40

    Re: To show the session timeout in ASP.NET

    "HttpSessionState class's IsNewSession( ) method returns true if a new session was created for a given request. If this is a new session but the ASP.NET_SessionId cookie is present, this indicates a timeout situation"

    Handling it on the client can be fairly easy because you know how long the session timeout value is in minutes, and can check that on the browser since the session will timeout at pretty much the same time a script on the browser would determine that 20 minutes are up.

Similar Threads

  1. Replies: 4
    Last Post: 17-01-2011, 11:14 AM
  2. Replies: 4
    Last Post: 24-12-2010, 07:58 AM
  3. Replies: 3
    Last Post: 31-07-2009, 01:09 PM
  4. Replies: 3
    Last Post: 16-05-2009, 02:00 PM
  5. RDP TimeOut
    By christophe in forum Windows Server Help
    Replies: 7
    Last Post: 03-03-2008, 03:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,062,796.17769 seconds with 17 queries