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 245312c commit b7dd414Copy full SHA for b7dd414
lib/LIB-Session.php
@@ -5,9 +5,9 @@ class Session extends Core {
5
"domain" => HOST_NAME,
6
"path" => "/",
7
"httponly" => true,
8
- "expires" => 0
9
- // "secure" => true,
10
- // "samesite" => "None"
+ "expires" => 0,
+ "samesite" => "Lax",
+ // "secure" => true
11
];
12
13
// (B) CONSTRUCTOR - AUTO VALIDATE JWT COOKIE & RESTORE SESSION DATA
@@ -89,4 +89,4 @@ function destroy () {
89
// (D2) CLEAR ALL SESSION DATA
90
$_SESSION = [];
91
}
92
-}
+}
0 commit comments