CppCMS
|
An implementation of session_api that stores the data using session_storage and unique session id. More...
#include <cppcms/session_sid.h>
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 &) |
An implementation of session_api that stores the data using session_storage and unique session id.
Create a new session_sid with a pointer s to session_storage
Delete an object and release a session_storage it used.
virtual void cppcms::sessions::session_sid::clear | ( | session_interface & | ) | [virtual] |
Implements cppcms::session_api.
virtual bool cppcms::sessions::session_sid::is_blocking | ( | ) | [virtual] |
Implements cppcms::session_api.
virtual bool cppcms::sessions::session_sid::load | ( | session_interface & | , |
std::string & | data, | ||
time_t & | timeout | ||
) | [virtual] |
Implements cppcms::session_api.
virtual void cppcms::sessions::session_sid::save | ( | session_interface & | , |
std::string const & | data, | ||
time_t | timeout, | ||
bool | , | ||
bool | |||
) | [virtual] |
Implements cppcms::session_api.