diff --git a/src/session.php b/src/session.php new file mode 100644 index 0000000..25aafd8 --- /dev/null +++ b/src/session.php @@ -0,0 +1,21 @@ + 0, + 'path' => $params['path'] ?? '/', + 'domain' => $params['domain'] ?? '', + 'secure' => $secure, + 'httponly' => true, + 'samesite' => 'Lax' + ]); + session_start(); +}