AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.
Categories
- AJAX
- ASP.NET Beginner Tutorials
- ASP.NET Tutorials
- Database
- File System
- Graphics
- Miscellaneous
- Network
- Resources
- Validation
- XML
Recent Posts
- Make Your ASP.NET Mobile Forms Timer-Refresh and Autoredirect : Peter Bromberg
You can't use javascript in Mobile Forms, and they won't render the META Refresh tag either. Here's a - Inversion of Control and Dependency Injection with Castle Windsor Container - Part IV : Simone Busoli
In this article I introduce the missing core features I didn't tackle before. They require a little more - Developing Gadgets For The Windows Vista Sidebar : Scott Allen
Windows Vista introduced the Sidebar – an anchored panel on the Windows desktop that can host mini-applications - .NET CodeToHTML : Paschal L
This article shows you how to convert source code to HTML. The aim of this article is to share with you - Save Changes on Close of Browser or when exiting the page. : Abishek R Srikaanth.
This article describes on how you can implement the functionality of saving changes on close of the browser
Build an ASP.NET Session Timeout Redirect Control : Peter A Bromberg
Thursday, December 11 2008
It is often important for the business logic of an ASP.NET site to know for a particular request if the user’s session information is valid (e.g., a timeout has not occurred). Without this technique it is difficult to know, when a session variable is not found, whether it was never set properly or that the user simply waited too long between requests. This solution provides a simple, effective "drop on the page" control to handle this. We often get forum posts here asking "How can I tell if a user's Session is timed out, and perform some action in response?" Often this involves the incorrect assumption that the Session_End event can be used for this. ASP.NET implements a rolling timeout mechanism that extinguishes the session information for a user if no request is received within the timeout period. Session_End happens on the server automatically regardless of whether a user has requested a page, so the idea of using it to do anything other than cleanup-type operations is a mistake; it is independent of the page lifecycle and there is no active Request or Response object to access there....SumColumn: Custom DataGrid Column that automatically shows Sum/Count/Average in DataGrid Footer. : Aziz ur Rahman
A Look at ASP.NET 2.0's URL Mapping : Scott Mitchell
Working with Email using ASP.NET 2.0 : Jason N. Gaylord
Which Path would you travel? A few points about ASP.NET Paths : Xun Ding

