Export (0) Print
Expand All

StateRuntime.ProcessRequest Method (IntPtr, Int32, String, Int32, Int32, Int32, Int32, Int32, Int32, IntPtr)

Used by the ASP.NET state server to process session data.

Namespace:  System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

public void ProcessRequest(
	IntPtr tracker,
	int verb,
	string uri,
	int exclusive,
	int extraFlags,
	int timeout,
	int lockCookieExists,
	int lockCookie,
	int contentLength,
	IntPtr content
)

Parameters

tracker
Type: System.IntPtr

An IntPtr pointer to an object stored in the unmanaged ASP.NET state server.

verb
Type: System.Int32

The action to take on the object.

uri
Type: System.String

An identifier for the session.

exclusive
Type: System.Int32

The type of access to objects in the store.

extraFlags
Type: System.Int32

A value that indicates whether the current session is an uninitialized, cookieless session.

timeout
Type: System.Int32

The number of minutes the session data is stored.

lockCookieExists
Type: System.Int32

A value that indicates whether the lock cookie exists in the original request from the ASP.NET Web server to the ASP.NET state server.

lockCookie
Type: System.Int32

The owner of the lock on the session state.

contentLength
Type: System.Int32

The length, in bytes, of the data stored for the session.

content
Type: System.IntPtr

An IntPtr pointer to the content stored for the session in the unmanaged ASP.NET state server.

Implements

IStateRuntime.ProcessRequest(IntPtr, Int32, String, Int32, Int32, Int32, Int32, Int32, Int32, IntPtr)

ASP.NET supports the option of managing session state out-of-process using a Windows service called the ASP.NET state service. The ProcessRequest method is used by unmanaged code in this service to manage the session data.

This member supports the .NET Framework infrastructure implementation of the ASP.NET state service and is not intended be used directly from your code. For more information about session-state storage options, see Session-State Modes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft