Skip to main content
ATL Server Library Reference 
CMemSessionServiceImpl Class 

This class provides an in-memory based session-state implementation for use within ATL Server ISAPI extension DLLs.


class CMemSessionServiceImpl

The CMemSessionServiceImpl class provides the implementation for an in-memory-based ATL Server session-state support. Used as a template argument to the CSessionStateService class, CMemSessionServiceImpl provides high-performance session-state support, because session-state data is kept in server memory, as opposed to in a central database. The caveat is that memory-backed session-state support works only with single-machine server scenarios. Also, excessive concurrent sessions and large session data sets, depending on available memory, may overload the server.

As an implementation class, CMemSessionServiceImpl serves a behind-the-scenes role and should be used in your code only as a template parameter to CSessionStateService. See Providing Session-state Services for more information.

Header: atlsession.h