I think we should really find out the capabilities of Mayo's server/host before we can truly suggest one method over another. In high traffic eComm sites I have seen superb performance using the method described.
If, however RAM is not a problem, he isn't experiencing high volumes and is not on another server with xxx websites who all make excessive use of session variables, then yes - maybe he should use session variables.. Mayo - please advise. Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.co.uk -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 29 December 2004 18:02 To: CF-Talk Subject: RE: shopping cart, session variables - best practices > Use a structure for storing the basket contents by all means, however > instead of session.basketContents, convert the structure to a WDDX > object and store it as client.basketContents - That way you're not using > precious RAM but cheap disk space. Storing application- and user-specific data is what precious RAM is for! In an application environment with a single application server, you will typically achieve significantly higher performance under load by storing things in memory rather than fetching them from the database for each page request. You may need to provision your server's RAM adequately to ensure you have enough for the number of concurrent users you need to support, but RAM is comparatively cheap. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54