Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTPServer.OnInvalidSession Event

Event handler signalled when a session cannot be restored for a specific SessionID.

Pascal
property OnInvalidSession: TIdHTTPInvalidSessionEvent;
Parameters 
Description 
AContext 
Client connection generating the event notification.
 
RequestInfo 
Header sent in the client request.
 
ResponseInfo 
Header to include in a response.
 
ContinueProcessing 
Indicates that a new session can be created.
 
InvalidSessionID 
Session ID found in a Request Cookie. 

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 GSessionIDCookie 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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.