Jump to content

Where i can change front office cookie expire time ?


raxsix

Recommended Posts

it seems in v1.4.2.5 the Cookie is created by FrontController.php class.

$cookie = new Cookie('ps');

and by default the Cookie expire time is time() + 1728000

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

 

Cookie.php has a function called setExpire, but I do not see any code that uses it.

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...