-
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
-
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
Forum Rules
|
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
|
Bookmarks