Skip to content
Snippets Groups Projects
Commit ff6911e7 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Set cookie session to 2 hours

parent 1668e2fc
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,8 @@ class SessionHelper ...@@ -11,6 +11,8 @@ class SessionHelper
private function __construct() private function __construct()
{ {
ini_set('session.gc_maxlifetime', 7200);
session_set_cookie_params(7200);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment