Are you talking about within a single application, or for multiple
applications on the same server?

If the former, just have each directory's Application.cfm set a
sessionTimeout variable, and CFINCLUDE the parent directory's
Application.cfm.  The top-level one will have all the actual code,
including the CFAPPLICATION tag, which will CFPARAM the sessionTimeout
variable to some default, and then use that for the sessionTimeout
attribute.

If you've got multiple applications, do exactly as you propose, though
you'll probably want to use a mapping for the location of
application_base.cfm in case you have to change it's physical location
at some point.

cheers,
barneyb

On 6/21/05, Daniel Kessler <[EMAIL PROTECTED]> wrote:
> I need all my application.cfm files to be the same except for the
> session time-outs.  It seems that I can have a base file
> (application_base.cfm) which gets included into all the
> application.cfm files and the session time-out can be distinct.
> 
> Is there any problem with doing it this way or this process in
> general?  I've not done it before and want to make sure there're no
> gotchas.
> 
> thanks.
> 
> --
> Daniel Kessler

-- 
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:210153
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