I would like to know how to increase the session timeout in symfony. Is it enough to only adjust the symfony configuration settings or must I also configure anything in my php.ini file?
For Symfony 2.0.x
framework:
session:
lifetime: 43200 #time in seconds
For Symfony >= 2.1.0
framework:
session:
cookie_lifetime: 43200 #time in seconds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With