Icon ActiveServerSession Property

property ActiveServerSession: TServerSession


Available In: Client Applications

Indicates the TServerSession instance being used by the database for authentication. If no session has been manually assigned to the ServerSession property, then this property will reference the global Session instance that is automatically created at application startup.

The database uses the active server session's UserName, Password, and BaseURL properties along with the Authenticate method to authenticate against the web server before executing any database API requests. The database then uses the BaseURL and DatabasesResource properties for constructing database API requests.