• 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
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...