TAstaSessionList


Properties Methods

 

Unit
AstaSessionList

 

Applies to
TAstaServerSocket

 

Description
Used internally by ASTA servers to manage database sessions when threaded. In the Pooled Threading Model at server startup the AstaServerSocket calls
ThreadedDBSupplySession DatabaseSessions number of times to populate the AstaServerSocket.SessionList in the CreateSessionsForDBThreads method that should be called in the formCreate of any AstaServer.

 

An example of how the AstaSessionList could be used is if you want to get a DatabaseSession under the Persistent Session threading model for an ASTA messaging call. You would call AstaServerSocket.SessionList.GetSessionFromSocket(ClientSocket,'');

 

See Threading ASTA Servers for a fuller discussion.

 

 



ASTA Overview TAstaServerSQLOptions Type TAstaSQLGenerator