Server Module - SessionInvalid Event

Fired when the a request is made but the session is no longer valid

Member of Server Module (PRIM_SRVM)


NameTypeData TypeDescription
SenderName*InputStringName of the routine making the request


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

LANSA Version 15, April 2020