Compare commits
No commits in common. "7766f8e330874a6682af3597b6454160bd1443e0" and "b1d3de8bfabbbcff0e43ba967885bfcaec91104b" have entirely different histories.
7766f8e330
...
b1d3de8bfa
@ -16,15 +16,6 @@ error_reporting(E_ALL);
|
|||||||
|
|
||||||
if (session_status() !== PHP_SESSION_ACTIVE)
|
if (session_status() !== PHP_SESSION_ACTIVE)
|
||||||
{
|
{
|
||||||
// Session-Cookie Lifetime auf 30 Tage setzen
|
|
||||||
session_set_cookie_params([
|
|
||||||
'lifetime' => 60 * 60 * 24 * 30, // 30 days
|
|
||||||
'path' => '/',
|
|
||||||
'domain' => '',
|
|
||||||
'secure' => false,
|
|
||||||
'httponly' => true,
|
|
||||||
'samesite' => 'Lax'
|
|
||||||
]);
|
|
||||||
session_start();
|
session_start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user