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

The implementation of session_api using encrypted or signed cookies. More...

#include <cppcms/session_cookies.h>

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

List of all members.

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 &)

Detailed Description

The implementation of session_api using encrypted or signed cookies.


Constructor & Destructor Documentation

Create a new object passing it a pointer ecryptor as parameter

Destroy it and destroy an encryptor it was created with


Member Function Documentation

Delete session, see session_api::clear

Implements cppcms::session_api.

virtual bool cppcms::sessions::session_cookies::load ( session_interface ,
std::string &  data,
time_t &  timeout 
) [virtual]

Load session from cookies, see session_api::load

Implements cppcms::session_api.

virtual void cppcms::sessions::session_cookies::save ( session_interface ,
std::string const &  data,
time_t  timeout,
bool  newone,
bool  on_server 
) [virtual]

Save session to cookies, see session_api::save

Implements cppcms::session_api.


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