You need to use lock's around all shared scope variable (setting or reading) which are session, application and server. A great article on this is Ben Forta's "Lock it or Lose it" which you can read here: http://www.sys-con.com/coldfusion/article.cfm?id=135
Check his site for other great articles: http://forta.com ~~ Stephenie Hamilton Macromedia Certified ColdFusion Professional CFXHosting > |-----Original Message----- > |From: FlashGuy [mailto:[EMAIL PROTECTED]] > |Sent: Wednesday, October 09, 2002 9:56 AM > |To: CF-Community > |Subject: <cflock & <cfparam > | > | > |I'm setting session variables and using <cflock > | > |<cflock type="exclusive" scope="session" timeout="5"> > | <cfset SESSION.variable1 = "something1"> > |</cflock> > |<cflock type="exclusive" scope="session" timeout="5"> > | <cfset SESSION.variable2 = "something2"> > |</cflock> > | > |I'm also using <cfparam which is being picked up with a > |<cfdirectory. Do I have to wrap the <cfparam with a <cflock also? > | > |<cfparam name="dir" default="d:\"> > | > | > | > |--------------------------------------------------- > |Colonel Nathan R. Jessop > |Commanding Officer > |Marine Ground Forces > |Guatanamo Bay, Cuba > |--------------------------------------------------- > | > | > | > | ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
