This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).

%BI.SessionObj

class %BI.SessionObj extends %CSP.SessionEvents

Method Inventory (Including Private)

Methods

classmethod OnEndSession()
Inherited description: Called when the session is about to be deleted, either because of a timeout (in which case OnTimeout() is called first) or because the application has explicitly closed this session. Use the %session object to examine this session. If you wish to abort this deletion then:
  Set %session.EndSession=0
  
classmethod OnStartSession()
Called when a new session is created and its values are initialised.
classmethod OnTimeout()
Called when the CSP Daemon times out out this session before calling EndSession(). Use the %session object to examine this session. If you wish to abort this deletion then:
  Set %session.EndSession=0
  

Inherited Members

Inherited Methods (Including Private)

Feedback