What I want to do it move away from storing shopping cart information in a
cookie.

We currently do this because we have multiple servers that handle the
shopping cart.  What I want to do it use only two servers in a cluster, one
active and the other passive, and use session variables to control the
shopping cart.  I know you still need a cookie for the session variable.

What I thought was I could insert the session ID in a table with the stock
number, quantity, and price.  After the order is completed, the session ID
is deleted and all information about the order is purged from the table.
Also, I would probably set to purge sessions that are inactive for 7 days.

So.. may table would look like this:

SessionID       Stock           Qty             Price           AddDate
---------       -----           -----           ------  ---------
1234567 123             1               9.95            04/30/2007

Sound good?

Also, would CF Enterprise be idea for this? Take advantage of the
clustering...

Thanks
Jacob


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to