Do it the other way.  In your subdirectory have this:

<cfset sessionTimeout = createTimeSpan(0, 1, 0, 0) />
<cfinclude template="../Application.cfm" />

and then in your root have this:

<cfparam name="sessionTimeout" default="#CreateTimeSpan(0,0,30,0)#" />
<cfapplication ... sessionTimeout="#sessionTimeout#" />

Sorry, I was't very clear with whether I was talking about
'sessionTimeout' the variable, or 'sessionTimeout' the CFAPPLICATION
attribute.  That make more sense now?  I believe the multiple
CFAPPLICATION tags will work without issue, but it seems wrong to do
it that way (because you're effectively declaring your application
multiple times).

cheers,
barneyb

On 6/22/05, daniel kessler <[EMAIL PROTECTED]> wrote:
> It's the former.
> I get most of what you're saying.  Are you saying that I should just have a 
> sessiontimeout in the timeout in the application.cfm file:
> <other info>
> <cfapplication sessionmanagement="yes" setclientcookies="yes" 
> name="db_storage" sessiontimeout="#CreateTimeSpan(0,0,30,0)#">
> 
> then include that file into another one and just have the same line in the 
> new file with a new timeout?
> <cfapplication sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
> 
> and it'll overwrite the previous timeout for that directory?
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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