You don't need one in the current directory, you just need to make sure the one in the previous directory has that cfapplication tag. If there's no app.cfm in the current diretory, CF will automatically look in ../, ../.../, etc until it finds one. Generally you want 1 app.cfm, and it should be in the root directory of the application. Obviously there are cases where you'd want more than 1, but that's for another day.
-jc Phillip Perry wrote: >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 >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181892 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

