CppCMS
Public Member Functions
cppcms::sessions::session_sid Class Reference

An implementation of session_api that stores the data using session_storage and unique session id. More...

#include <cppcms/session_sid.h>

Inheritance diagram for cppcms::sessions::session_sid:
cppcms::session_api booster::noncopyable

List of all members.

Public Member Functions

 session_sid (booster::shared_ptr< session_storage > s)
 ~session_sid ()
virtual void save (session_interface &, std::string const &data, time_t timeout, bool, bool)
virtual bool load (session_interface &, std::string &data, time_t &timeout)
virtual bool is_blocking ()
virtual void clear (session_interface &)

Detailed Description

An implementation of session_api that stores the data using session_storage and unique session id.


Constructor & Destructor Documentation

Create a new session_sid with a pointer s to session_storage

Delete an object and release a session_storage it used.


Member Function Documentation

virtual bool cppcms::sessions::session_sid::is_blocking ( ) [virtual]
virtual bool cppcms::sessions::session_sid::load ( session_interface ,
std::string &  data,
time_t &  timeout 
) [virtual]
virtual void cppcms::sessions::session_sid::save ( session_interface ,
std::string const &  data,
time_t  timeout,
bool  ,
bool   
) [virtual]

The documentation for this class was generated from the following file: