diff options
author | redmatrix <git@macgirvin.com> | 2016-04-03 17:38:17 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-03 17:38:17 -0700 |
commit | a703835b5cdbe737be98374a51363426083fee8f (patch) | |
tree | 9c561d2add476833c6ea4147ecf69518cad9003e /include/session.php | |
parent | bf3f3564e08754c3f91524798523839ae7b9094c (diff) | |
download | volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.gz volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.tar.bz2 volse-hubzilla-a703835b5cdbe737be98374a51363426083fee8f.zip |
Bug: "remember me" doesn't
Diffstat (limited to 'include/session.php')
-rw-r--r-- | include/session.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'", |