• dav_twix's avatar
    Update session.rst · 0e553e36
    dav_twix authored
    May be a bug, but Sessions expire after 30 minutes (or less ?)
    To have the default behavior describe in documentation, you must set cookie_lifetime to 0
    
    $app->register(new Silex\Provider\UrlGeneratorServiceProvider(), array(
        'session.storage.options' => array(
            'cookie_lifetime' => 0
            )
        )
    );
    0e553e36
Name
Last commit
Last update
..
cookbook Loading commit data...
providers Loading commit data...
changelog.rst Loading commit data...
conf.py Loading commit data...
contributing.rst Loading commit data...
index.rst Loading commit data...
internals.rst Loading commit data...
intro.rst Loading commit data...
middlewares.rst Loading commit data...
organizing_controllers.rst Loading commit data...
phar.rst Loading commit data...
providers.rst Loading commit data...
services.rst Loading commit data...
testing.rst Loading commit data...
usage.rst Loading commit data...
web_servers.rst Loading commit data...