RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebSession.Terminate Method

Terminates the session.

Pascal
procedure Terminate; virtual; abstract;
C++
virtual __fastcall Terminate() = 0;

Call Terminate to explicitly terminate a session. Once a session terminates, the application can no longer access its Values

Sessions are terminated automatically when the application does not receive any requests for the session for TimoutMinutes minutes.  

In TAbstractWebSession, Terminate is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to provide an implementation. 

 

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