Try it without the dashes.  I had to take them out of my names due to CFMX7
on CrystalTech not liking them.
 

-----Original Message-----
From: Mark Holm [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 4:24 PM
To: CF-Talk
Subject: Re: Application.cfm issue

This is the code in the root of the domain (BTW I'm on a shared hosting plan
-crystaltech)
 <cfapplication name="BCNU-1999-2001-2010" sessionmanagement="yes"
applicationtimeout="#CreateTimeSpan(0,0,19,0)#"
sessiontimeout="#CreateTimeSpan(0,0,19,0)#">
 �
 <!--- Set custom global error handling pages for this application.--->
 <cferror type="request"
 �� template="error.cfm"
 �� mailto="[EMAIL PROTECTED]">
 �<!--- Set the Application variables if they aren't defined. --->
 <!--- Initialize local app_is_initialized flag to false. --->
 <cfset app_is_initialized = False>
 <!--- Get a read-only lock. --->
 <cflock scope="application" type="readonly" timeout=10>
 <!--- Read init flag and store it in local variable. --->
 �� <cfset app_is_initialized = IsDefined("Application.initialized")>
 </cflock>
 <!--- Check the local flag. --->
 <cfif not app_is_initialized>
 <!--- Application variables are not initialized yet.
 ����� Get an exclusive lock to write scope. --->
 �� <cflock scope="application" type="exclusive" timeout=10>
 ����� <!--- Check the Application scope initialized flag since another
request
 �������� could have set the variables after this page released the
read-only
 �������� lock. --->
 ����� <cfif not IsDefined("Application.initialized")>
 �������� <!--- Do initializations --->
 ������� <cfset application.FOODdsn ="food1">
 ��� ��� �<cfset application.BCNUcfc = "cfc">
 ������ 
 �������� <!--- Set the Application scope initialization flag. --->
 �������� <cfset Application.initialized = "yes">
 ����� </cfif>
 �� </cflock>
 </cfif>
 <!--- test to see if it picks up this var --->
 <cfparam name="application.number" default="1">
 </cfapplication>

> OK so I renamed the variable like thus:
[...]
> still no go cfdump only picks up th applicationname..

Ok, fair enough. So where is the cfapplication tag, and what does
that code (and the code around it) look like?

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:204599
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to