Topic Path: Symbol Reference > Classes > TIdCustomHTTPServer Class > TIdCustomHTTPServer Events > OnInvalidSession Event
ContentsIndexHome
PreviousUpNext
TIdCustomHTTPServer.OnInvalidSession Event

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

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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.