Hi there!
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?
Thanks in advance for the help, Best regards!
Hi there!
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?
Thanks in advance for the help, Best regards!
for sf1.0:
Change the value in apps/appname/config/settings.yml:
all:
.settings:
timeout: 1800 #session lifetime value in seconds
for sf1.1+:
Add these lines to apps/appname/config/factories.yml:
user:
class: myUser
param:
timeout: 1800 #session lifetime value in seconds