Something wrong when I try add data to cart |
[eluser]greedyman[/eluser]
[quote author="davidMC1982" date="1363532423"]You can use $_SESSION, but you are much better off using $this->session. See here: http://ellislab.com/codeigniter/user-gui...sions.html Personally, I always setup Codeigniter sessions to use the db.[/quote] But session in CI is cookie (~4KB), I can only add about 8 products and it full. Can I extend session capacity?
[eluser]davidMC1982[/eluser]
Setup the Codeigniter sessions to use a table in your database. Everything you need to know to do it is in the user guide. Also, the Cart class requires that you store your sessions in your db: http://ellislab.com/codeigniter/user-gui.../cart.html
[eluser]greedyman[/eluser]
[quote author="davidMC1982" date="1363533672"]Setup the Codeigniter sessions to use a table in your database. Everything you need to know to do it is in the user guide. Also, the Cart class requires that you store your sessions in your db: http://ellislab.com/codeigniter/user-gui.../cart.html[/quote] Hi! Thank for your help. |
Welcome Guest, Not a member yet? Register Sign In |