Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: All
May 28, 1999

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 %>
Ken Cox
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date