I'm storing Client variables in a database.

The following does not update the value of Search_Term
in the Structure Vars, based on the value of Form.st

The value of SearchTerm (not a typo) is the same as
that in the database before the attempted update.

What an I doing wrong?

best,  paul

<!--- Update Structure --->
<CFSET Vars = StructNew()>
<CFSET Vars["Search_Term"] = Form.st>
<CFSET Vars["City"] = "All">
<CFWDDX ACTION="CFML2WDDX" INPUT="#vars#" OUTPUT="wddx_vars">
<!--- Update Existing Client variable --->
<CFSET client.Vars = WDDX_VARS>

<!--- Get VARS Stucture from Database --->
<CFWDDX ACTION="WDDX2CFML" INPUT="#client.vars#" OUTPUT="vars">

<CFSET SearchTerm = StructFind(VARS,"Search_Term")>

------------------------------------------------------------------------------
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