Re: Session Timeout
"Eric Dillard" <email@example.com> wrote in message
> 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.
For useful, usable software and Web sites
Featured Web design: http://www.keweenawnow.com/
Please reply in the newsgroup so everyone can benefit
Is there anyway to tell when session has timeout.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL