ASP Best Practices

Previous Topic Next Topic

Using the ENABLESESSIONSTATE Directive

Using the ENABLESESSIONSTATE directive (set in Internet Services Manager) for your site enables the detailed tracking of user requests.

In order to save those resources that IIS uses to process scripts for pages not using session state information, set the ENABLESESSIONSTATE directive to FALSE for those pages:

<%@ ENABLESESSIONSTATE=False %>

© 1997-1999 Microsoft Corporation. All rights reserved.