HttpSessionStateContainer.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)

public bool IsNewSession { get; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: