As long as you use the cookie at the payment gate way to look up the
prices in the database -
Rather than take prices from the cookie -
Also you should look at encypting cookies  

However bear in mind a lot of people don’t like cookies so you might
have to stro the info in the client scope - 



-----Original Message-----
From: Peter Dray [mailto:[EMAIL PROTECTED] 
Sent: 26 November 2003 11:06
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] A little advice...

I'm doing a simple shopping cart 'thing'. I don't want to store the data
in a db and I do want the data to persist across sessions. 
What I did was...

Each item added to the basket is a structure, as is the basket itself. I
then CFWDDX'd it and bunged it in a cookie.

Good? Bad?

Advice welcome

Pete Dray

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.543 / Virus Database: 337 - Release Date: 21/11/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.543 / Virus Database: 337 - Release Date: 21/11/2003
 


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to