I ended up using hidden FORM inputs instead without any problems.

Thank you both for your help!

On Fri, Jun 6, 2008 at 4:14 PM, <[EMAIL PROTECTED]> wrote:

> If they have to be in the url, then you need to format the url string
> correctly.
> ?u=USERID&t=TIMEDSECONDS&x=HASHEDSTRING
>
> William Seiter (mobile)
>
> Have you ever read a book that changed your life?
> go to:  http://www.winninginthemargins.com
> and use passcode: GoldenGrove
>
> -----Original Message-----
> From: "Julie Poulin" <[EMAIL PROTECTED]>
> To: "CF-Newbie" <[email protected]>
> Sent: 6/6/2008 11:07 AM
> Subject: HTTP Post Question
>
>
> Hi,
>
> I am trying to use HTTP Post for the first time and without any luck. I
> need to append the values of userID, timeSeconds and hashedString to the
> URL. They must be called, u, t, and x. The following code:
>
> <cftry>
>  <cfhttp url="
> https://www.hrnonline.com/rem/q.asp?#userid#&#timeSeconds#&#hashedString#";
> method="post" redirect="yes" throwonerror="yes" resolveurl="yes">
>     <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 <http://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:3738
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