I am in the process of migrating from CF5 to CF MX 6.1.

=== BEGIN APPLICATION.CFM ===

I have an application.cfm for one of my websites which is as follows:

<cfapplication name="#server_name#" clientmanagement="YES"
applicationtimeout=#createtimespan(0,0,30,0)# setdomaincookies="Yes">
<cfparam name="startTime" default="#GetTickCount()#">
<cfsetting enablecfoutputonly="Yes">

<!--- DVD Movies Top 50 --->
<cfif not isdefined("Client.DVDTop50")>
<cffile action="" file="d:\web\alphalists\dvd\DVDTop50.txt"
variable="DVDTop50StockList">
<cfset Client.DVDTop50="#trim(Top50StockList)#">
</cfif>

<!--- VHS Movies Top 50 --->
<cfif not isdefined("Client.VHSTop50")>
<cffile action="" file="d:\web\alphalists\dvd\VHSTop50.txt"
variable="DVDTop50StockList">
<cfset Client.VHSTop50="#trim(Top50StockList)#">
</cfif>

<cfsetting enablecfoutputonly="No">

=== END APPLICATION.CFM ===

When I use cookies to store client variables (like I am in CF 5 and without
errors), I get the following error in CF MX:

The string "Cookie.Cfclient_XXX.XXX.XXX.XXX" is not a valid ColdFusion
variable name.

(XXX.XXX.XXX.XXX is the IP address of the client)

If I use registry to store the client variable, I do not get any errors.

How can I fix this so I can use cookies to store the client variables?  It
looks like the "." in the variable are the problem, but that is the IP address.

Thanks in advance
Jacob
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to