Skip to main content

%ZEN.SessionEvents

Class %ZEN.SessionEvents Extends %CSP.SessionEvents [ Deprecated, System = 3 ]

CSP session event handler for Zen.

Methods

OnEndSession

ClassMethod OnEndSession()

Called when the session is about to be deleted.

OnTimeout

ClassMethod OnTimeout()

Called when the CSP Daemon times out out this session.

OnStartSession

ClassMethod OnStartSession()

Called when a new session is created and its values are initialised.

OnApplicationChange

ClassMethod OnApplicationChange(oldapp As %String, newapp As %String) As %Status

Called when a session that was in CSP application oldapp is now going to run a page in CSP application newapp. If this returns an error value then instead of running the page in the new application it will redirect to the error page (error page looked up from old application).