8 #ifndef CPPCMS_SESSION_STORAGE_H 9 #define CPPCMS_SESSION_STORAGE_H 11 #include <cppcms/defs.h> 12 #include <booster/noncopyable.h> 13 #include <booster/shared_ptr.h> 38 virtual void save(std::string
const &sid,time_t timeout,std::string
const &in) = 0;
44 virtual bool load(std::string
const &sid,time_t &timeout,std::string &out) = 0;
50 virtual void remove(std::string
const &sid) = 0;
55 virtual bool is_blocking() = 0;
80 virtual bool requires_gc() = 0;
virtual ~session_storage_factory()
Definition: session_storage.h:89
This class is central representation of json objects.
Definition: json.h:140
This is the namespace where all CppCMS functionality is placed.
Definition: application.h:19
virtual void gc_job()
Definition: session_storage.h:85
virtual ~session_storage()
Definition: session_storage.h:61
session_server_storage is an abstract class that allows user to implements custom session storage dev...
Definition: session_storage.h:31
This class makes impossible to copy any class derived from this one.
Definition: noncopyable.h:15
The factory is an interface to a factory that creates session_storage objects, it should be thread sa...
Definition: session_storage.h:69