devxlogo

Notify Session Time Out When Using ASP

Notify Session Time Out When Using ASP

Each time a user connects to an ASP Web site, they are assigned a SessionID. Each session times out after 20 minutes by default (although you can adjust the timeout duration). This frees server resources when a browser doesn’t return to a site within the specified time. The problem is that there’s no way to send a message to the client browser either just before or anytime after the session times out. The user doesn’t know that the session has timed out. You can alleviate the problem by putting this script in each page which lets users know that their session has timed out. You can easily modify it to notify a user before the script times out:

 
See also  5 Strategies for Supercharging Your CRM
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist