Jump to content

Logout customer after a certain amount of time?


projects

Recommended Posts

classes/cookies.php file

you've got there:

$this->_expire = is_null($expire) ? time() + 1728000 : (int)$expire;

 

1728000 seconds

1728000 = 20 days

 

What will happen once you upgrade to a new version? Will this modification stay or get overwritten? Is there a more permanent solution to change the cookie duration?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...