@ENABLESESSIONSTATE

You can use the @ENABLESESSIONSTATE directive to turn off session tracking for a page. Session tracking maintains information about a set of requests that are issued by a single client. If your page does not rely on session information, turning off session tracking may decrease the time it takes for IIS to process the script.

Syntax

<%@ ENABLESESSIONSSTATE=True|False %>
 

Remarks

For more information about session tracking, see Managing Session States