Re: Serialize shopping cart

2019-07-30 Thread Gino Pacitti via Webobjects-dev
Ah good idea. I chose to go the persistent store route and have created entries per item with an id of visitor. But thanks for your perspective. gino > On 30 Jul 2019, at 08:44, Jérémy DE ROYER wrote: > > Hi Gino, > > We do store shopping carts using serialization/json/xml to files and

Re: Serialize shopping cart

2019-07-30 Thread Jérémy DE ROYER via Webobjects-dev
Hi Gino, We do store shopping carts using serialization/json/xml to files and restore them when the user is back. We just need an item id and quantity. We store it : a) in a file using a uuid (saved in a cookie for non logged in users) b) in a file using the customer profile for logged in

Re: Serialize shopping cart

2019-07-25 Thread Jesse Tayler via Webobjects-dev
I would definitely suggest making the cart entries part of your persistent model and not use session variables for that. > On Jul 25, 2019, at 1:32 PM, Gino Pacitti via Webobjects-dev > wrote: > > Hi all > Anyone had any experience with serialising either a shopping cart or perhaps > a

Serialize shopping cart

2019-07-25 Thread Gino Pacitti via Webobjects-dev
Hi all Anyone had any experience with serialising either a shopping cart or perhaps a session to persist for 24 hrs. I’m trying to create an abandoned cart process that will take someone back to the checkout and continue even if session has expired... Gino Follow: