Server Module - SessionInvalid Event
Fired when the a request is made but the session is no longer valid
Member of Server Module (PRIM_SRVM)

Parameters

Name

Type

Data Type

Description

SenderName

*Input

String

Name of the routine making the request

Details


The SessionInvalid event is fired whenever a SrvRoutine executes and there is no valid session.
This allows for global handling of a failed session on the server.
The SessionInvalid event will only fire for SrvRoutines defined as Response(*WebPage #Xxxxxxxx). By default SrvRoutines return JSON and session failures must be handled in client code using the Failed or RequestFailed event.

See also

All Component Classes
Technical Reference