mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
Use YACReaderHttpSession in Static, so YACReader's session data will be available outside HttpSession.
This commit is contained in:
parent
e67d34a511
commit
44d7c892c1
@ -11,6 +11,8 @@
|
|||||||
#include "httpsessionstore.h"
|
#include "httpsessionstore.h"
|
||||||
#include "staticfilecontroller.h"
|
#include "staticfilecontroller.h"
|
||||||
|
|
||||||
|
#include "yacreader_http_session.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This class contains some static resources that are used by the application.
|
This class contains some static resources that are used by the application.
|
||||||
*/
|
*/
|
||||||
@ -51,6 +53,8 @@ public:
|
|||||||
/** Storage for session cookies */
|
/** Storage for session cookies */
|
||||||
static HttpSessionStore* sessionStore;
|
static HttpSessionStore* sessionStore;
|
||||||
|
|
||||||
|
static QMap<QByteArray, YACReaderHttpSession *> yacreaderSessionStore;
|
||||||
|
|
||||||
/** Controller for static files */
|
/** Controller for static files */
|
||||||
static StaticFileController* staticFileController;
|
static StaticFileController* staticFileController;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user