How can I prevent automatic logout for users in Symfony?

I try to prevent the automatic logout for users in Symfony.
According to this post Symfony2 Prevent Auto Logout

I am trying to change my code like this:

   #app/config/config.yml
     session:
     cookie_lifetime: 86400
     gc_maxlifetime: 1800

The problem is, that in my Symfony I cannot find a config.yml

my config folder looks like this:

config
  packages
  routes
  bundles.php
  routes.yaml
  services.yaml
  

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *