Folks:

Client variable specific question:  We discovered a scenario where
client-scoped variables behave completely different than session-scoped
variables when referencing the variable w/out a scope.  Doesn't make sense?
Example:

CASE 1:

Page1.cfm:
<CFSET Client.MyVar=1>

Page2.cfm:
<CFIF ParameterExists(MyVar)>True<cfelse>False</cfif>

CASE 2:

Page1.cfm:
<CFSET Session.MyVar=1>

Page2.cfm:
<CFIF ParameterExists(MyVar)>True<cfelse>False</cfif>


Case 1 outputs "True", whereas Case 2 outputs "False".


This royally sucks, because we recently switched all session-scoped
variables to the client scope, and now things are evaluating completely
different.

Any suggestions?  Using ColdFusion Server 4.01.  Thanks in advance.

-Dave

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to