This commit is contained in:
Anupam Mediratta 2026-09-27 13:52:30 +05:30 • committed by GitHub
commit 76df413294
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,11 @@
<?php
session_set_cookie_params([
'lifetime' => 0,
'path' => '/',
'secure' => !empty($_SERVER['HTTPS']),
'httponly' => true,
'samesite' => 'Strict',
]);
session_start();
error_reporting(0);