http://www.houseoffusion.com/lists.cfm/link=m:4:20525:103887
Is there really no way to stop CF from URLEncoding the values? Is there any
workaround? Or should I just downgrade to 4.5?
"Ah. There is a BIG difference in CFHTTP/CFHTTPPARAM behavior between
CFAS 4.0.x, 4.5.x, CF 5, and MX! All of them obey DIFFERENT but SUBTLE
rules!
For 4.0.x:
The damn thing actually stores the cookies it received! And
AUTOMATICALLY sends the cookies back to servers that own the cookies
when it makes subsequent HTTP calls!
And btw, CFHTTPPARAM DOES NOT URLEncode the NAME or VALUE of a
name/value pair (URL, COOKIE, Headers, FORM, et al). (Or was it the
opposite?!)
For 4.5.x:
CFHTTP decided to stop auto-sending (and managing) the cookies that it
received! Still no URLEncoding of name or values.
For 5.x:
CFHTTPPARAM AUTOMATICALLY (you cannot do anything to prevent or
circumvent) URLEncode the VALUE but leaves the NAME unescaped! Woohoo!
For MX:
CFHTTPARAM decided to URLEncode BOTH Name and Values (you cannot do
anything to prevent or circumvent)!
Consistency and Documentation... Yummmm.....
"
_____
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 29, 2004 7:55 PM
To: CF-Talk
Subject: CFHTTP Cookies
I'm doing a cfhttp request, and I'm posting a cookie like this:
<cfhttpparam name="AdsUserLocale" value="en_US" type="COOKIE">
However, CF URLEncodes it and posts this:
Cookie: AdsUserLocale=en%5FUS;
IE posts it as:
Cookie:; AdsUserLocale=en_US
How do I get CF to not URLEncode the variables?
Russ
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

