No.  Default unless fully qualified is type variables, not application

Andy

-----Original Message-----
From: Margaret Fisk [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 10:55 AM
To: CF-Talk
Subject: RE: Do I need to lock around queries?


Sorry I don't have an answer for you, but I do have another question on the
locking issue....

When you put a variable in your application.cfm (for example, your DSN
name),
is it automatically an application scope variable requiring application
locking
whether or not you use application.DSN rather than just DSN?

And if it is not an application scope variable, what is its scope?

Thanks in advance,
Margaret

-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 8:44 AM
To: CF-Talk
Subject: RE: Do I need to lock around queries?


> Would locking include such things as checking if statements, ie:
>
>       <CFIF NOT IsDefined ("SESSION.var")>
>               Run some code
>       </CFIF>

You only need to lock to update, reading does not need a Lock, unless
you're REALLY paranoid about it changing information while your code is
running

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************




______________________________________________________________________
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

Reply via email to