Fix getting session name, closes #75
This commit is contained in:
parent
058ab0d10d
commit
12778505e5
@ -86,9 +86,9 @@
|
||||
*/
|
||||
private function sessionEnd() {
|
||||
$_SESSION = [];
|
||||
if (ini_get("session.use_cookies")) {
|
||||
if (ini_get("session.use_cookies") && isset($_COOKIE[session_name()])) {
|
||||
$params = session_get_cookie_params();
|
||||
setcookie(session_name('ulogger'), '', time() - 42000,
|
||||
setcookie(session_name(), '', time() - 42000,
|
||||
$params["path"], $params["domain"],
|
||||
$params["secure"], $params["httponly"]
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user