Cart Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Cart Library (/showthread.php?tid=76805) |
Cart Library - sg007 - 06-22-2020 Can you please tell me Why My Cart Goes Empty Automatically After some time ??? RE: Cart Library - InsiteFX - 06-22-2020 Your sessions are being destroyed. Check the time outs on your sessions in the config file. RE: Cart Library - sg007 - 06-23-2020 (06-22-2020, 03:59 AM)InsiteFX Wrote: Your sessions are being destroyed.Can you please guide me about this Like I want to store the cart info but not session unlimited time. RE: Cart Library - InsiteFX - 06-23-2020 If you need to keep the cart information for reloading after a user exits the application you would need to store the cart information into the database. RE: Cart Library - Leo - 06-27-2020 What about cookies? Then you can use javascript. And, during check-out, you can cross-reference the product-info in the cookie-cart with your product-info in the database - to make sure that even if they tampered with the cookie it doesn't affect your store. |