Does any of your variables contain complex values:
e.g. userID, timeSeconds, hashedString?

To check you can use the IsSimpleValues() function, e.g.

IsSimpleValue(hashedString)


    
> <cfhttpparam value="#userID#" name="u" type="formfield" >
    
> <cfhttpparam value="#timeSeconds#" name="t" type="formfield" >
    
> <cfhttpparam value="#hashedString#" name="x" type="formfield" >
  
> </cfhttp>
  
> <cfoutput>filecontent: #cfhttp.FileContent#</cfoutput>
  
> <cfoutput>header: #cfhttp.header#<br />
          
> mime: #cfhttp.mimetype#<br />
          
> cfhttp:responseheader: #cfhttp.responseheader#</cfoutput>
> <cfcatch type="any">
  
> <cfoutput>ERROR</cfoutput><br />
  
> <cfoutput>cfcatch.type: #cfcatch.type#</cfoutput><br />
  
> <cfoutput>cfcatch.Detail: #cfcatch.Detail#</cfoutput><br />
  
> <cfoutput>cfcatch.Extendedinfo: #cfcatch.extendedinfo#</cfoutput><br 
> />
  
> <cfoutput>expression error number: #cfcatch.errnumber#</cfoutput>
> </cfcatch>    
> </cftry>
> 
> is causing the error below and I cannot see how this could be.
> 
> header: HTTP/1.1 200 OK Content-Type: text/html Set-Cookie: 
> ASPSESSIONIDCACBDACQ=GEDOJIAAMNJNLKMBPEMGIPIO; path=/ Date: Fri, 06 
> Jun 2008 17:59:21 GMT Cache-Control: private Content-Length: 1298 
> X-Powered-By: ASP.NET 
> mime: text/html
> cfhttp:responseheader: ERROR
> cfcatch.type: Expression
> cfcatch.Detail: The expression has requested a variable or an 
> intermediate expression result as a simple value, however, the result 
> cannot be converted to a simple value. Simple values are strings, 
> numbers, boolean values, and date/time values. Queries, arrays, and 
> COM objects are examples of complex values. 
> The most likely cause of the error is that you are trying to use a 
> complex value as a simple one. For example, you might be trying to use 
> a query variable in a cfif tag.
> cfcatch.Extendedinfo: 
> expression error number: 0 
> 
> 
> I've tried using type="URL" and type="header" without luck. I am not 
> using a form at all. Does anyone have any ideas?
> 
> Thanks!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3735
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to