Free Internet Information Server Resources With Session.Abandon

The ASP Session object helps you maintain state in the Web’s stateless environment. That means that you can track users and their choices from one page to another. However, all this takes up resources on your server–even if after the browser has left your site. If you know that there’s no further need to maintain session variables, release the user’s session with:

 <%Session.Abandon%>

If an ASP page doesn’t require session-tracking, you can turn off the feature by using the this code at the start of your page:

 <%@ EnableSessionState=False Language=VBScript %>
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: