From a703835b5cdbe737be98374a51363426083fee8f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 3 Apr 2016 17:38:17 -0700 Subject: Bug: "remember me" doesn't --- include/session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/session.php') diff --git a/include/session.php b/include/session.php index 71bfdc12a..82f82a9b9 100644 --- a/include/session.php +++ b/include/session.php @@ -45,12 +45,13 @@ function nuke_session() { function new_cookie($time) { + $old_sid = session_id(); // ??? This shouldn't have any effect if called after session_start() // We probably need to set the session expiration and change the PHPSESSID cookie. + // session_set_cookie_params($time); - session_set_cookie_params($time); session_regenerate_id(false); q("UPDATE session SET sid = '%s' WHERE sid = '%s'", -- cgit v1.2.3