23 lines
586 B
PHP
23 lines
586 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
return [
|
||
|
|
'driver' => env('SESSION_DRIVER', 'file'),
|
||
|
|
'lifetime' => env('SESSION_LIFETIME', 120),
|
||
|
|
'expire_on_close' => true,
|
||
|
|
'encrypt' => false,
|
||
|
|
'files' => storage_path('framework/sessions'),
|
||
|
|
'connection' => env('SESSION_CONNECTION'),
|
||
|
|
'table' => 'sessions',
|
||
|
|
'store' => env('SESSION_STORE'),
|
||
|
|
'lottery' => [2, 100],
|
||
|
|
'cookie' => env('SESSION_COOKIE', 'core_app_session'),
|
||
|
|
'path' => '/',
|
||
|
|
'domain' => null,
|
||
|
|
'secure' => false,
|
||
|
|
'http_only' => true,
|
||
|
|
'same_site' => 'lax',
|
||
|
|
'partitioned' => false,
|
||
|
|
];
|