共用方式為


@ENABLESESSIONSTATE

You can use the @ENABLESESSIONSTATE processing 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

<%@ ENABLESESSIONSTATE = False %>

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also