CppCMS
|
The implementation of session_api using encrypted or signed cookies. More...
#include <cppcms/session_cookies.h>
Public Member Functions | |
session_cookies (std::auto_ptr< encryptor > encryptor) | |
~session_cookies () | |
virtual void | save (session_interface &, std::string const &data, time_t timeout, bool newone, bool on_server) |
virtual bool | load (session_interface &, std::string &data, time_t &timeout) |
virtual bool | is_blocking () |
virtual void | clear (session_interface &) |
Public Member Functions inherited from cppcms::session_api | |
virtual | ~session_api () |
The implementation of session_api using encrypted or signed cookies.
cppcms::sessions::session_cookies::session_cookies | ( | std::auto_ptr< encryptor > | encryptor | ) |
Create a new object passing it a pointer ecryptor as parameter
cppcms::sessions::session_cookies::~session_cookies | ( | ) |
Destroy it and destroy an encryptor it was created with
|
virtual |
Delete session, see session_api::clear
Implements cppcms::session_api.
|
virtual |
Implements cppcms::session_api.
|
virtual |
Load session from cookies, see session_api::load
Implements cppcms::session_api.
|
virtual |
Save session to cookies, see session_api::save
Implements cppcms::session_api.