You should not store a large amount of data in the session. The
session is stored in a cookie, and everything you store there has to
be sent back and forth over the network. You can however store an ID
in the session and lookup data in your database.

// Magnus Holm


On Tue, Dec 3, 2013 at 12:04 PM, Francois Sery <sery.franc...@gmail.com> wrote:
> hi , i need some advices.
> I a little Camping app i have to store a cart in a session . i tried
> achieving it using the default camping/session but it is limited to 4K and
> my card miss some data.
>  how can store more than 4k in a session ? thanks.
>
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to