Hey all, I have a gateway cfc that is cached in the Application scope. It's reading data from the database. It looks like I'm seeing some evidence of race conditions on this cfc, i.e. data from other requests is appearing in the application.
I've never used locks before, just want to make sure I'm doing it right. Here's what my code looks like: <cflock scope="application" timeout="5" type="readonly"> <cfset getitems = Application.mygatewaymethod(args) /> </cflock> Do I have that right for what I need to do, namely prevent the threads from crossing when reading in the data. -- Josh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283813 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

