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: