Re: Serialize shopping cart
Re: Serialize shopping cart
- Subject: Re: Serialize shopping cart
- From: Jérémy DE ROYER via Webobjects-dev <email@hidden>
- Date: Tue, 30 Jul 2019 06:44:17 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ingencys.net;dmarc=pass action=none header.from=ingencys.net;dkim=pass header.d=ingencys.net;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PwwJNBMJ+ZiJYSQGA7Gl0XrRuFHEQt5B186Fwh+ffXE=; b=CpUplLBnKvC9wrWd6pQMcau/zXqyaCEB+dp7HKkTFWfyPjLwMjkrKqeUTW4mIsYeL4I6QgWkFFTXxgKPXjBu6HAzug7IsZaL2hwhYbZPktEoXrvPmn4UKM0xN6xqwRaOr7cIk7/7l+yO5+TJOvt9wZytveCQaH0Rz25kYyLvSEdkHXcv7XEEGbTU6pstwokbQ3qPQSn9FE2MR8vGgMK6XU2C8qTJOA0M/h8zDAS0Sc0I0vK7K/uGsXQZ3Bp3u92fsIVVC9SkzX3/DrxiG6xwPQ3eiusjGKdgsXWvUBL/4WBm6BqwM6quhn6tRjQlvK04dCmEH/+TycgUsbHG17hJbA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tp19zBV9qQeBYmwZ1N/+XCL46MydJ22249/qJC/hGJ73N9dTE9PRl22NdseUDUd9JVYvEkvpqIZNwSPoipERxMbxCKDMABQ/Pnj9LIJL5hCC5nZqh4tSv+h4Xknc/uasDGud1UBO8fT4W9SebhdUDT6hDYRlNO1kGj/N4R3zkUYeCd70dH3d+sWij8sqQxkjckGuQEnwmTypovS4DODhMIcwLABiPCl2tl8VLqyOBpI+ztU1pTtewvSpq2kuc4Yj2NbhKifKyPXEsryvVIZNXTd+VFFUOn7dIuk0vEFmw4xc5Oqb3Z5wAMyqkxqOABRulimXOiri2/CRe8wRPLWWfg==
- Thread-topic: Serialize shopping cart
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
<email@hidden<mailto:email@hidden>> 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
<email@hidden<mailto:email@hidden>> 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
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden