"This will return an array of the names of all applications running on a server"

".....are untested and potentially dangerous (especially in shared hosting 
environments) - but can be very useful for developers or securely managing your 
applications on a dedicated box"

http://www.lynchconsulting.com.au/blog/index.cfm/2006/10/23/Hacking-the-application-scope-in-CFMX

I haven't tested this in a shared hosting environment but it has legitimate 
uses never the less....

Andrew.

>They can't, and I'm 99% sure they never have been. The only code that can
>read an application variable is code that lives under a directory where the
>cfapplication tag with that application name.  Many people store this info
>in an application-scoped Config CFC and pass that into whatever other CFCs
>need it.
>
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289174
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