Richard,

    You can define your variables outside the onApplicationStart method. 
However, they will not be on the application scope. Usually, what I do, 
I set my DSN with the method onApplicationStart and then I set
        this.name = 'ModelGolfLLC';
        this.applicationTimeOut = createTimeSpan(0,1,0,0);
        this.clientManagement = 'Yes';
        this.loginStorage = 'session';
        this.sessionManagement = 'Yes';
        this.sessionTimeOut = createTimeSpan(0,0,60,0);
        this.setClientCookies = 'Yes';
        this.setDomainCookies = 'No';
        this.scriptProtect = 'all';
all of these variables outside the method and this way it works.

Ravi Gehlot.




Richard White wrote:
> hi, we worked out it was because the variables where being defined outside 
> the onapplication start method and of course must be inside
>
> richard
>
>   
>> Hi
>>
>> we had a working version of coldfusion application on one site, and 
>> another working version of coldfusion on a sub domain of that site. We 
>> swapped these version over and now one of the applications is 
>> producing the error: Element SESSIONTIMEOUT is undefined in 
>> APPLICATION. 
>>
>> does anyone know what the cause of this may be?
>>
>> thanks
>>
>> richard 
>>     
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to