Re: [Catalyst] how to do persistent session data (aka shopping cart) in catalyst?

2018-04-26 Thread Fernan Aguero
Thanks for all the responses. So, it's just a matter of using standard Catalyst::Plugin:Session, and maybe also Catalyst::Plugin::Session::Store::DBIC and then write some business logic to either use the session_data from the sessions table (anonymous user) or the session_data from the users

Re: [Catalyst] how to do persistent session data (aka shopping cart) in catalyst?

2018-04-26 Thread Hector Azpurua
Hi Fernan, The I did for a small/medium size enterprise it was: - Cart data is stored at DB level, so the information can be replicated among all devices and browsers sessions. - If an Anonymous user has cart data and then log in, then merge previous stored cart with the new cart