Home > Class Reference > ENSLIB namespace > CSPX.SessionEventHandler
Private  Storage   


class CSPX.SessionEventHandler extends %CSP.SessionEvents


Parameters Properties Methods Queries Indices ForeignKeys Triggers


%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
OnApplicationChange OnEndRequest OnEndSession OnLogin
OnLogout OnStartRequest OnStartSession OnTimeout


• classmethod OnEndSession()
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.

This is called before the license for this session is allocated, and if you wish to abort this session and return the standard out of licenses error page then:

	Set %session.EndSession=1