Bilegt Posted October 7, 2014 Share Posted October 7, 2014 Hey, I have been browsing around, but seems like nobody knows how to set short period cookie session. Prestashop's default value is 480 hours long for keeping your cookie, and minimum you can set is 1hour. Is this really possible to put cookie lasts for only 5 or 10 mins? I have manually edited my configuration table in database, however there were no effect after I entered 0.12 Is there any other way to set cookie shorter than 1 hour? Link to comment Share on other sites More sharing options...
Bilegt Posted October 8, 2014 Author Share Posted October 8, 2014 I have done it by myself Link to comment Share on other sites More sharing options...
vekia Posted October 8, 2014 Share Posted October 8, 2014 administration > general there is an option to define cookie life time, both for front office and back office you changed option values there? Link to comment Share on other sites More sharing options...
Bilegt Posted October 8, 2014 Author Share Posted October 8, 2014 nah, I have tested that BO and FO features for many times, they have no effect at all, trust me. But, I have added small trick " last_activity " into AuthController and frontControllers. It works Link to comment Share on other sites More sharing options...
vekia Posted October 9, 2014 Share Posted October 9, 2014 okay, thank you for clarification what you did :-) can i mark this topic as solved now? Link to comment Share on other sites More sharing options...
Bilegt Posted October 10, 2014 Author Share Posted October 10, 2014 Link to comment Share on other sites More sharing options...
Recommended Posts