RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSessionList.CurrentSession Property

Returns a pointer to the current session component

Pascal
property CurrentSession: TSession;
C++
__property TSession CurrentSession;

Use CurrentSession to determine or specify which session in a database application is the current session. By default the current session is a pointer to the default session component, Session, that is created automatically by the library for all database applications. Setting CurrentSession makes the specified session component the current one. While any number of sessions may be active, only one session can be current at a time. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!