Peetra Posted November 5, 2009 Share Posted November 5, 2009 Hi, I am poking around in backoffice a little bit, to get to know this application. I have noticed, that I stay logged in in backoffice, even if I shut down the server and/or browser between times I use prestashops BO. It does not seem that safe and I wonder if there is a way to either modify the code or a setting in BO that allows me to set a time limit for session lengths.THX in advance, Peetra. Link to comment Share on other sites More sharing options...
Peetra Posted November 8, 2009 Author Share Posted November 8, 2009 Nobody knows how to adjust the session lenght? Link to comment Share on other sites More sharing options...
rocky Posted November 8, 2009 Share Posted November 8, 2009 Have a look at line 50 of Cookie.php: $this->_expire = isset($expire) ? intval($expire) : (time() + 1728000); 1 Link to comment Share on other sites More sharing options...
Peetra Posted November 8, 2009 Author Share Posted November 8, 2009 Yes, I found that line in \classes\Cookie.php and tested to change the long number to only 60. But that does not seem to do the trick.[edit] It worked. I probably didnt wait that 60 sec. the first time I tried. :red: Thank you very much! Link to comment Share on other sites More sharing options...
dierkurakura Posted April 14, 2010 Share Posted April 14, 2010 it,s work thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now