This documentation is archived and is not being maintained.

HttpSessionState.IsNewSession Property

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

[Visual Basic]
Public ReadOnly Property IsNewSession As Boolean
public bool IsNewSession {get;}
public: __property bool get_IsNewSession();
public function get IsNewSession() : Boolean;

Property Value

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


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace