----- Original Message ----- From: "Bud" <[EMAIL PROTECTED]> <snip> To set a value in a variable named session.cart: <cflock name="#request.dsn#_basket" timeout="10" type="exclusive"> <cfset session.cart.product_id = #form.product_id#"> </cflock>
To read session.cart: <cflock name="#request.dsn#_basket" timeout="10" type="readonly"> </cfoutput>#session.cart.product_id#</cfoutput> </cflock> --------------------------- My original question was about what to do with CF4.0, and I think the TYPE attribute for CFLOCK came in with 4.5. That said, my Forta 'Web Application Construction Kit' for 4.0 doesn't mention the NAME attribute in the reference either! Still, thanks for pointing out the error in using CFID and CFTOKEN to name session locks... - Gyrus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

