mirror of
https://github.com/filegator/filegator.git
synced 2025-08-06 15:26:42 +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
|
||||
|
||||
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.
|
||||
For example you can pass ```cookie_lifetime``` parameter and extend session lifetime like this:
|
||||
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 to extend default session lifetime:
|
||||
```
|
||||
'Filegator\Services\Session\SessionStorageInterface' => [
|
||||
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
|
||||
|
Reference in New Issue
Block a user