IHttpSessionState::IsNewSession Property
.NET Framework (current version)
Gets a value indicating whether the session was created with the current request.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue if the session was created with the current request; otherwise, false.
The following code example implements the IsNewSession property of the IHttpSessionState interface.
.NET Framework
Available since 2.0
Available since 2.0
Show: