IHttpSessionState::IsNewSession Property

 

Gets a value indicating whether the session was created with the current request.

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

property bool IsNewSession {
	bool get();
}

Property Value

Type: System::Boolean

true if the session was created with the current request; otherwise, false.

The following code example implements the IsNewSession property of the IHttpSessionState interface.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: