set session.cookie_lifetime to 0 initially instead of a rather useless min()
This commit is contained in:
parent
476be67ff9
commit
da5deaaca1
|
@ -19,7 +19,7 @@
|
|||
ini_set("session.name", $session_name);
|
||||
ini_set("session.use_only_cookies", true);
|
||||
ini_set("session.gc_maxlifetime", $session_expire);
|
||||
ini_set("session.cookie_lifetime", min(0, SESSION_COOKIE_LIFETIME));
|
||||
ini_set("session.cookie_lifetime", 0);
|
||||
|
||||
function session_get_schema_version() {
|
||||
global $schema_version;
|
||||
|
|
Loading…
Reference in New Issue