Commit 09de3c34 authored by Imran Hussain's avatar Imran Hussain
Browse files

Make sessions last for 3 days

parent 82073b2b
......@@ -19,7 +19,7 @@ ini_set("session.sid_length",64);
ini_set("session.hash_bits_per_character",5);
ini_set("session.hash_function", "sha256");
session_set_cookie_params(0,"/","sucs.org",true,true);
session_set_cookie_params(strtotime("+3 days"),"/","sucs.org",true,true);
session_name('sucs_sso_id_v1');
session_start();
......
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