23 #ifndef TUFAO_SIMPLESESSIONSTORE_H
24 #define TUFAO_SIMPLESESSIONSTORE_H
26 #include "sessionstore.h"
33 #define DEFAULT_REFRESH_INTERVAL 2 * 60 * 1000
57 settings = defaultSettings(),
70 int refreshInterval()
const;
75 void setRefreshInterval(
int msecs);
100 const QByteArray &key)
const override;
107 const QByteArray &key)
const override;
114 const QVariant &value)
override;
121 const QByteArray &key)
override;
138 QByteArray createSession()
const;
146 #endif // TUFAO_SIMPLESESSIONSTORE_H
The SessionSettings class exposes details that sessions use to handle cookies.
Definition: sessionsettings.h:55
The Tufao::HttpServerResponse is used to respond to a Tufao::HttpServerRequest.
Definition: httpserverresponse.h:142
The Tufao::HttpServer represents a HTTP request received by Tufao::HttpServer.
Definition: httpserverrequest.h:54
This is the namespace where all Tufão facilities are grouped.
Definition: abstracthttpserverrequesthandler.h:30
SessionStore class can be used to store data that must persist among different requests.
Definition: sessionstore.h:220
SimpleSessionStore implements a simple storage mechanism to SessionStore.
Definition: simplesessionstore.h:46