Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Remove from favorites Remove from favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (3 votes)

66% thumbs up 33% thumbs down

How would you rate this answer?

Thank you for rating this answer.

How do I change how long data is stored in the cart?

The default length of time that data stays in the cart is 24 hours. If you want to extend or limit the amount of time that the data exists in the cart, you may do so by editing the file at:

You will need to find the line that says:
@ini_set('session.gc_maxlifetime', 86400);

and change it to:
@ini_set('session.gc_maxlifetime', 86400*XX);

where XX represents the number of days you wish to extend the cookie by. 86400 represents the number of seconds in 24 hours (24 hours * 60 minutes * 60 seconds). If you wish to lower the time you would obviously need to calculate the number of seconds you wish to keep the data in the cart and then replace the 86400 with that number.

Related Articles

No related articles were found.


No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software