Session Timeout


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Session Timeout

  1. #1
    Constance J. Petersen Guest

    Re: Session Timeout

    Hi Eric,

    "Eric Dillard" <eric@seisystems.com> wrote in message
    news:3c602ba6$1@10.1.10.29...
    > Is there anyway to tell when session has timeout.


    When a visitor starts a session with your Web application, ASP.NET creates an
    HttpSessionState object, which it maintains until the session is abandoned or
    times out. The HttpSessionState.Abandon method cancels the session immediately
    and the HttpSessionState.Timeout property (normally 20 minutes, but set in the
    Web.config file) controls the number of minutes that the server will maintain
    the session with no further requests from the visitor.

    When the session times out or is abandoned, the Session_End event handler
    executes. So you could put code there to handle the timeout.
    --
    Constance Petersen, DevX newsgroup section leader
    SoftMedia Artisans, Inc.
    http://www.smartisans.com
    For useful, usable software and Web sites
    Featured Web design: http://www.keweenawnow.com/
    --
    Please reply in the newsgroup so everyone can benefit



  2. #2
    Eric Dillard Guest

    Session Timeout

    Hi

    Is there anyway to tell when session has timeout.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center