Can anyone offer some advice on either of the following:

1. I've got this problem where I try to set a cookie in my cfc component
and it doesn't actually create the cookie on the client (but it does
appear in the cookie scope during the request). But if I set the same
cookie in the cfm page it does create the cookie on the client and also
adds it to the cookie scope.

2. Basically, I want to find some way of persisting shopping carts so
that users can come back and find their carts as they left them. My
current model is to store all cart data in the database, and store a
UUID into a cookie called sessionID. Then, if the session is new, I'll
look for the cookie. If cookie.sessionID is defined, I will retrieve the
cart data from the database and add it to the session.manager.
Otherwise, I'll add an empty cart to the session.manager.

Many thanks,

Douglas

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to