mirror of
https://github.com/filegator/filegator.git
synced 2025-08-08 08:36:45 +02:00
Update session.md
This commit is contained in:
@@ -37,8 +37,8 @@ Don't forget to enter correct mysql username, password, and database.
|
|||||||
|
|
||||||
## Tweaking session options
|
## Tweaking session options
|
||||||
|
|
||||||
The Underying Symfony session [component](https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php) constructor accepts an array of options.
|
The underying Symfony's session [component](https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php) accepts array of options.
|
||||||
For example you can pass ```cookie_lifetime``` parameter and extend session lifetime like this:
|
For example you can pass ```cookie_lifetime``` parameter to extend default session lifetime:
|
||||||
```
|
```
|
||||||
'Filegator\Services\Session\SessionStorageInterface' => [
|
'Filegator\Services\Session\SessionStorageInterface' => [
|
||||||
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
|
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
|
||||||
|
Reference in New Issue
Block a user