You mean you want the application name available elsewhere in your app?

Not sure why you'd want to, but you can do this...

<cfset request.appname = "MyApp">
<cfapplication clientmanagement="Yes" sessionmanagement="Yes"
name="#request.appname#" sessiontimeout="#CreateTimeSpan(0,0,40,0)#"
applicationtimeout="#CreateTimeSpan(0,0,40,0)#">

Then simply access request.appname.

That what you need?

-----Original Message-----
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED] 
Sent: 18 March 2003 09:10
To: CF-Talk
Subject: application name


Hi,

Can I get the Application name somewhere? (the name that is set in the
<cfapplication> tag)

It would perhaps be useful to get that from an included script or
something.

Cheers,
Hugo






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to