Client and Server side storage implementation of session_api.
More...
#include <cppcms/session_dual.h>
Client and Server side storage implementation of session_api.
Create a new object using encryptor enc and session_storage storage. data_size_limit represents the maximal data size that can be stored on client side, if the data size is bigger then that the session data will be stored on server
| virtual cppcms::sessions::session_dual::~session_dual |
( |
| ) |
|
|
virtual |
Destroy the object: release pointer to storage and delete an encryptor it was created with.
| virtual bool cppcms::sessions::session_dual::is_blocking |
( |
| ) |
|
|
virtual |
| virtual bool cppcms::sessions::session_dual::load |
( |
session_interface & |
, |
|
|
std::string & |
data, |
|
|
time_t & |
timeout |
|
) |
| |
|
virtual |
| virtual void cppcms::sessions::session_dual::save |
( |
session_interface & |
, |
|
|
std::string const & |
data, |
|
|
time_t |
timeout, |
|
|
bool |
new_session, |
|
|
bool |
on_server |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file: