Indy 9
|
TIdHTTPInvalidSessionEvent = procedure (Thread: TIdPeerThread; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var VContinueProcessing: Boolean; const AInvalidSessionID: String) of object;
TIdHTTPInvalidSessionEvent is the type used to represent the TIdHTTPServer.OnInvalidSession property, and is signalled when a threaded client attempts to execute using an existing session in the TIdHTTPSessionList. Sessions are restored using the GSessionID Cookie in the HTTP Request.
An event handler for the TIdHTTPInvalidSessionEvent notification can set ContinueProcessing to True to allow the HTTP server to create a new HTTP session for the client.