Commit 06631b6f authored by Carsten  Rose's avatar Carsten Rose
Browse files

Session.php: Activate cookie_httponly for QFQ cookies

parent 61472b9b
...@@ -30,6 +30,8 @@ class Session { ...@@ -30,6 +30,8 @@ class Session {
if (self::$phpUnit === true) { if (self::$phpUnit === true) {
self::$sessionLocal = array(); self::$sessionLocal = array();
} else { } else {
ini_set('session.cookie_httponly', 1);
session_name(SESSION_NAME); session_name(SESSION_NAME);
session_start(); session_start();
self::$sessionId = session_id(); self::$sessionId = session_id();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment