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 users That way, it’s easy to set up persistence duration by deleting old files. Jérémy Le 25 juil. 2019 à 19:34, Jesse Tayler via Webobjects-dev <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> a écrit : 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 <webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>> wrote: 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: https://instagram.com/mybuddiadventure Like: https://facebook.com/mybuddi.co Learn: https://mybuddi.co/about _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com<mailto:jtay...@oeinc.com> _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net This email sent to jeremy.dero...@ingencys.net<mailto:jeremy.dero...@ingencys.net>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com