5 Replies Latest reply on Feb 1, 2011 5:12 PM by Dan Bracuk

    Chttp receiving page breaking the variable


      I have a program doing a cfhttp get to a url with two variables: a file name and an id. The id is being sent correctly. 1234556. However, once it gets to the receiving page and I do an output of that value to check it, it shows up as 1 2 3 4 5 6.  While I can do a replace on that end for the spaces, the file name generation that includes that id then breaks as well. I'm using Colfusion 5.0..


      An example:

      <cfset appid = "1234565">


      <cfset appfile = "abc_" + #appid#>

      <cfhttp url="index.cfm?appfile=#appfile#&appid=#appid#" timeout=5>



      A write to file from the index.cfm page to show both variables shows as this:

      abc_1 2 3 4 5 6 1 2 3 4 5 6


      It also shows a special character.. not sure if it's a line break or not.. it's a little square next to the appid.


      Any ideas would be appreciated.