it was probably not the best idea to use session_regenerate_id() right after session_start(), duh

This commit is contained in:
Andrew Dolgov 2018-10-15 21:47:12 +03:00
parent 5feed36a3c
commit 77aebd7e4a
1 changed files with 1 additions and 1 deletions

View File

@ -718,8 +718,8 @@
session_commit(); session_commit();
} }
session_start();
session_regenerate_id(true); session_regenerate_id(true);
session_start();
$_SESSION["uid"] = $user_id; $_SESSION["uid"] = $user_id;
$_SESSION["version"] = VERSION_STATIC; $_SESSION["version"] = VERSION_STATIC;