[survey-web/oscp] Store sessions in DB



commit 0416c51d1641ef7ae2bd1127c1faa0b38faf4276
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Apr 9 19:11:30 2020 +0200

    Store sessions in DB

 docker/config.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docker/config.php b/docker/config.php
index eb72b78..2d5fc80 100644
--- a/docker/config.php
+++ b/docker/config.php
@@ -36,11 +36,11 @@ return array(
 
         // Uncomment the following lines if you need table-based sessions.
         // Note: Table-based sessions are currently not supported on MSSQL server.
-        // 'session' => array (
-            // 'class' => 'application.core.web.DbHttpSession',
-            // 'connectionID' => 'db',
-            // 'sessionTableName' => '{{sessions}}',
-        // ),
+        'session' => array (
+            'class' => 'application.core.web.DbHttpSession',
+            'connectionID' => 'db',
+            'sessionTableName' => '{{sessions}}',
+        ),
 
         'urlManager' => array(
             'urlFormat' => 'path',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]