We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e653ed2 commit 3b6e249Copy full SHA for 3b6e249
index.php
@@ -26,7 +26,11 @@ class updater
26
27
public function isAuthenticated()
28
{
29
- session_start();
+
30
+ ini_set('session.name','phpListSession');
31
+ ini_set('session.cookie_samesite','Strict');
32
+ ini_set('session.use_only_cookies',1);
33
+ ini_set('session.cookie_httponly',1); session_start();
34
if (isset($_SESSION[self::ELIGIBLE_SESSION_KEY]) && $_SESSION[self::ELIGIBLE_SESSION_KEY] === true) {
35
return true;
36
}
0 commit comments