RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebSess.TEndSessionEvent Type

TEndSessionEvent is the type for event handlers that are called when a session terminates.

Pascal
TEndSessionEvent = procedure (ASender: TObject; ASession: TAbstractWebSession; AReason: TEndSessionReason) of object;
C++
(ASender: TObject; ASession: TAbstractWebSession; AReason: TEndSessionReason) ( TEndSessionEvent)();

ASender is the sessions service component that manages the sessions in the WebSnap application. 

ASession is the session that just terminated. The event handler can read its session ID and name/value pairs before they are deleted from memory. 

AReason indicates the reason that the session was terminated. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!