CodeIgniter Forums

Full Version: cart insert only one item...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]timpisti[/eluser]
Hi.

I found a misterious behaviour.

When I insert item in the cart, it will add always the last item to it, but the insert itself is successful. After a refresh, the added item lost, the $this->cart->contents() give empty array.
The session itself working fine.

What do I wrong?

TiF

El Forum

[eluser]timpisti[/eluser]
Problem solved.

The session isn't worked well.

TiF

El Forum

[eluser]Chathuranga Tennakoon[/eluser]
i also had a same problem and i was able to solve it with your instructions