Topic Path: Symbol Reference > Classes > TIdHTTPCustomSessionList Class > TIdHTTPCustomSessionList Events > OnSessionEnd Event
TIdHTTPCustomSessionList.OnSessionEnd Event

Specifies the event handler for a terminating HTTP session.

property OnSessionEnd: TOnSessionEndEvent;
HTTP session for the event notification. 

OnSessionEnd is a TOnSessionEndEvent property that represents the event handler signalled when an HTTP session will be terminated. OnSessionEnd allows the session to notify its Owner (the session list) that it is closing, and should be removed from the session list. 

Applications must assign a procedure to the event handler to respond to the event notification. OnSessionEnd normally receives the event handler procedure in the TIdCustomHTTPServer.OnSessionEnd property when the HTTP server becomes active.

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