Skip to main content
ATL Server Library Reference 
CDBSession Class 

This class template provides an implementation of ISession that stores the session variables in a database.

template <
   class QueryClass = CDefaultQueryClass
class CDBSession :
   public ISession,
   public CComObjectRootEx< CComGlobalsThreadModel >



The class providing the SQL queries used to store and retrieve session variables in the database. See CDefaultQueryClass for more information.

This class template is typically used with CDBSessionServiceImplT.

Header: atlsession.h