CppCMS
|
#include <cppcms/session_interface.h>
Public Member Functions | |
virtual void | set_cookie (http::cookie const &updated_cookie)=0 |
virtual std::string | get_session_cookie (std::string const &name)=0 |
virtual std::set< std::string > | get_cookie_names ()=0 |
API to handle session cookies.
This API allows two things:
(a) Integration with 3rd part web technologies to access CppCMS session, i.e. using CppCMS session from PHP or Java Servlets
(b) An API that allows to translate cookies session tracking system to a different method when cookies do not suite the design - for example for internal RPC systems, etc. Note incorrect use of non-cookies medium may expose you to security issues
|
pure virtual |
Get all cookie keys
|
pure virtual |
Get value of a cookie, it is guaranted that name is what session_interface::session_cookie_name() returns
|
pure virtual |
Set a new cookie value