Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-18 17:53:41 +02:00
parent c97e0a55f0
commit 8097c8bafc

View File

@@ -129,8 +129,8 @@
</code></pre>
<p>Don't forget to enter correct mysql username, password, and database.</p>
<h2 id="tweaking-session-options">Tweaking session options</h2>
<p>The Underying Symfony session <a href="https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php">component</a> constructor accepts an array of options.
For example you can pass <code>cookie_lifetime</code> parameter and extend session lifetime like this:</p>
<p>The underying Symfony's session <a href="https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php">component</a> accepts array of options.
For example you can pass <code>cookie_lifetime</code> parameter to extend default session lifetime:</p>
<pre><code> 'Filegator\Services\Session\SessionStorageInterface' =&gt; [
'handler' =&gt; '\Filegator\Services\Session\Adapters\SessionStorage',
'config' =&gt; [