Great thanks. I made a new folder in the main directory so I hadn't thought
about making an app.cfm inside it. I guess that shows how important a
app.cfm file really is

-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 12:52 PM
To: CF-Talk
Subject: Re: cflock


You just need to add a CFAPPLICATION tag to you app, and you'll be set.

cheers,
barneyb

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?
>
> Thanks
>
> Phil
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181891
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

Reply via email to