From 44d7c892c1ec7cb7b0e38488dacf52feed26bcb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 21 Jun 2016 22:00:48 +0200 Subject: [PATCH] Use YACReaderHttpSession in Static, so YACReader's session data will be available outside HttpSession. --- YACReaderLibrary/server/static.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/YACReaderLibrary/server/static.h b/YACReaderLibrary/server/static.h index 74abf55b..3425ba7b 100644 --- a/YACReaderLibrary/server/static.h +++ b/YACReaderLibrary/server/static.h @@ -11,6 +11,8 @@ #include "httpsessionstore.h" #include "staticfilecontroller.h" +#include "yacreader_http_session.h" + /** This class contains some static resources that are used by the application. */ @@ -51,6 +53,8 @@ public: /** Storage for session cookies */ static HttpSessionStore* sessionStore; + static QMap yacreaderSessionStore; + /** Controller for static files */ static StaticFileController* staticFileController;