ITrkSession.IsSessionTimedout (method)

method IsSessionTimedout
Syntax: VARIANT_BOOL*pVal = object.IsSessionTimedout ( )
Description:
The IsSessionTimedout method indicates whether the current session has times out. A return value of TRUE indicates the session has times out.

Example:

Dim oTrkItemAgent As Object
Dim oTrkSession As Object
Dim oTrkItems As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
Set oTrkSession = CreateObject("Tracker.TrkSession")
if(oTrkSession.IsSessionTimedout) then
oTrkSession.SessionTimeout = "January 21, 2005"
End If
oTrkSession.CloseAllSession