Today I have problem about cart in codeigniter.
At my localhost thats fine when I add some products to the cart bag, no problem detected. But after I upload to the server, I get this problem, I must refresh the page to load products in cart bag. When I remove product from cart bag I get same problem. I must refresh and refresh to view product in the cart bag.
Why this problem occur?
Finally, I solve this problem using PHP Native Session, I replace CI session with PHP Native Session and problem is solved. But, Can that PHP Native session stored in database? like CI Session? as I know, Session just can store max 4kb. I afraid the session can not store all product item in cart bag.
Sorry if my english is bad. :)
I have tried using other browsers like chrome and opera. But the problem still occur.
Thanks for your response friends.. I appreciate it.. :D
You can try it here