2
0
forked from Wavyzz/dolibarr

Fix parameter session_cache_limiter

This commit is contained in:
Laurent Destailleur
2018-12-18 15:06:00 +01:00
parent c3eb131054
commit 57c41bac56
10 changed files with 28 additions and 34 deletions

View File

@@ -40,7 +40,7 @@ if (! ($_SERVER['HTTP_REFERER'] === $dolibarr_main_url_root . '/' || $_SERVER['H
// TODO Try to make a solution with only a javascript timer that is easier. Difficulty is to avoid notification twice when.
/* session already started into main
session_cache_limiter(false);
session_cache_limiter('public');
header('Cache-Control: no-cache');
session_set_cookie_params(0, '/', null, false, true); // Add tag httponly on session cookie
session_start();*/