Larry, I'm no expert but this is what works for me.

>From within App.cfc..

______________________________________________________________________

<cfcomponent output="no">
        
        <cfscript>
                //Application properties
                THIS.Name                       = "myapp";
                THIS.SessionManagement  = true;
                THIS.ClientManagement   = true;
                THIS.LoginStorage       = "session";
                THIS.SessionTimeout     = createTimeSpan(0,0,30,0);
        </cfscript>

        ...............
                
</cfcomponent>



-----Original Message-----
From: Larry Schaberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 20, 2008 10:55 AM
To: CF-Talk
Subject: Coldfusion 8.0.1 Application.cfc issue

I am quite lost on this one as I have not experienced this yet. We have
an outside application that was built and I am trying to use 1
Application.cfc versus an Application.cfm.  The application uses client
variables so in the main cfc off the root, I have:

<cfapplication name="NameHere" clientmanagement="yes"
sessionmanagement="yes" sessiontimeout="#createtimespan(0,24,0,0)#">

but in any directory I go to, if I do not have an application file in
it, it gives an error that the client management must be enabled. Once I
drop the file in that directory, the error goes away and the page loads
fine. It appears as though CF is not looking in the above directory
(root directory) for the application file.



Assistance would be really appreciated. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305722
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to