kaspars 1 Posted January 9, 2009 One does not know how I can make auto logout? For example a person for 20 minutes in to your account does not she need a new login 1 Share this post Link to post Share on other sites
Pursuant 6 Posted January 9, 2009 /init.php - line 20 $cookie = new Cookie('ps'); change to $cookie = new Cookie('ps', '', ); example $cookie = new Cookie('ps', '', 1200); would keep the user logged in for 20 minutes 1 Share this post Link to post Share on other sites
kaspars 1 Posted January 9, 2009 Thank you wery much ! Share this post Link to post Share on other sites
Pursuant 6 Posted January 9, 2009 It should work, let me know if it does not and I will look into it some more.--Kevin Share this post Link to post Share on other sites
kaspars 1 Posted January 9, 2009 However, there is a problem. I can not login . Logout are not working. Need to edit! Share this post Link to post Share on other sites
hieloiceberg 14 Posted March 19, 2009 Try this $cookie = new Cookie('ps', '', time( ) + 60 ); Share this post Link to post Share on other sites
scubastevejh 0 Posted March 21, 2011 Does this work? Share this post Link to post Share on other sites
zaibot 0 Posted April 19, 2011 Try this $cookie = new Cookie('ps', '', time( ) + 60 ); Works fine here. I set the value to 180, and after 3 minutes, the user is logged out when trying to place an order. Share this post Link to post Share on other sites
AndersHelbo 8 Posted October 21, 2014 And what if the customer is logged out after 20 minutes and logs in again? Would the cart still be available if the customer has something in the shopping cart, or would it be deleted also? Share this post Link to post Share on other sites