Bug: "remember me" doesn't
This commit is contained in:
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user