On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > >sounds like sessions aren't enabled. > > > >the 'action' page that errors out...it's within the same directory (or > >subdirectory) of the Application.cfc that's enabling the session > >management? > > > >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote: > > > > oh i see, i have just put the <cfapplication> tag at the top of the action > page and it now works fine. where is the best place to put the cfapplication > tag?
best place would be your Application.cfc. but you need to understand how Application.cfc (and Application.cfm) work. any coldfusion template looks in its own directory for Application.cfc. if it doesn't find one, it looks up one directory level. it keeps doing this until either it finds an Application.cfc (at which point it uses that file and stops looking) or reaches the root folder (at which point it simply stops looking and no Application.cfc is used). if your Application.cfc is in a directory that's at the same level as the template that you're running...that template won't have access to that Application.cfc. Not without creating an Application.cfc in the same directory and including the Application.cfc in the sibling directory (honestly, i'm new to Application.cfc, so i'm not sure if the including is a generally accepted good practice...might be better to just move the Application.cfc up one level so both directories can access it). -- Charlie Griefer ================================================ "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

