On 8/14/01, Raymond Camden penned:
>  > On 8/14/01, Ken Beard penned:
>>  >can you still use the name attribute in 5.0?  Sometimes it's
>>  nice to have a
>>  >higher level of control.. rather than having to use scope="application".
>>  >don't want my app to break when we upgrade.  anyone know?
>>
>>  Only on operations not involving session, application or server
>>  scoped variables. You must use the scope attribute on those.
>
>Not true - you don't _have_ to use SCOPE, but it is preferred to NAME.
>(Forgive me if I'm being anal.)

Well, OK, if it's your own server and you don't have Full checking 
enabled and are never going to enable it, or you know the application 
is NEVER going to be moved to a server with Full checking enabled. 
But if it is enabled, the error below comes from trying to read an 
application variable inside a named, exclusive lock.

Error Diagnostic Information

  An error occurred while evaluating the expression:

  "#application.GetStoreSetup#"

  Error near line 1, column 36.


  Symbol application.GetStoreSetup is in a scope that contains data 
shared across threads and cannot be accessed
  without an active lock
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to