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

----------------------------
James Ang
Programmer
MedSeek, Inc.
[EMAIL PROTECTED]





-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 14, 2003 1:18 PM
To: CF-Talk
Subject: [OT?]: CFHTTPing to a Dominoe server


SOLVED!  I've been screwed by CF 4.5.1, which is what the production
server is still running (don't ask).  The Domino guys gave me a form
page to test with, and I could fill in the fields with all the ???s I
wanted and it worked.  After reading every CF book on my shelf (It's
amazing how little worthwhile text there is written on CFHTTP) I decided
to try this on my CF5 test server, and it works just fine.

Thanks for the ideas, excuse me while I go crawling back to those Domino
guys I disparaged earlier.

-reed

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to