You need to make sure you have an Application.cfm module in your application's directory. That Application.cfm module needs to have a CFAPPLICATION tag within it, which will allow you to use application-scoped variables and to CFLOCK that scope.
On Tue, 19 Oct 2004 12:42:47 -0400, Phillip Perry <[EMAIL PROTECTED]> wrote: > Hi, > > First, thanks to James and everyone else for the solutions to the custom > tag. Now I'm into CFLOCK. I'm trying to make a custom tag for a banner > rotation and I am using cflock. But when I execute my code it gives this > error... > > Cannot lock APPLICATION scope. > CFLock cannot be used to lock the application or session shared scopes > without these scopes being established through the use of the CFApplication > tag. If you want to use the session scope you need to enable session > management. Application and/or Session variables must also be enabled in the > ColdFusion Administrator. > > I'm assuming I have to fiddle with the admin settings, but what exactly am I > looking for..or is it even an admin problem in the first place? > -- Ubqtous ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181880 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

