Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTPServer.OnInvalidSession
Event handler signalled when a session cannot be restored for a specific SessionID.

property OnInvalidSession: TIdHTTPInvalidSessionEvent;
Description
OnInvalidSession is a TIdHTTPInvalidSessionEvent property that represents the event handler signalled when a persistent session with the specified SessionID cannot be restored from SessionList.

OnInvalidSession is signalled when the threaded client connection in Thread is executed. InvalidSessionID is the GSessionID Cookie value that identifies the session to be restored. The event handler can set the value of ContinueProcessing to indicate if the server can create a new session for the threaded client connection.

Applications must assign a procedure to the event handler to allow responding to the event notification.