Thanks Mark and Isaac....That's pretty much what I thought (just didn't think it would slow things down so much). Oh well....back to the drawing board ;-)
Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "S. Isaac Dealey" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 1:48 PM Subject: RE: WDDX packet sent via URL > I would avoid the url -- use a form field, a client variable, cookie or > session variables. Part of theproblem with sending a wddx packet as a url > variable ( asside from the fact that the xml format is large and url string > sizes are limited ) is that every time thepacket hits a space, < or > or = > or ' characters, ( wddx packets contain lots of these ) it has to urlencode > that which further inflates the character length 3:1 for each special > character. So you're taking something like > > Hello my name is bill > > and converting it to this > > <xml 1.0><wddx packet><head></head><data><structure name='query'><array><var > item='1'><value>hello my name is > bill</value></array></structure></data></wddx></xml> > > ( I don't remember the format exactly, but it looks something similar to > this ) and further converting this to something like: > > %0Axml%201%3E0%0D%0Awddx%20packet%0D%0Ahead%0D%0A%EFhead%0D%0Adata%0D%0Astru > cture%20name%Q7%9Fquery%9F%0D%0Aarray%0D%0Avar%20item%Q7%9F1%9F%0D%0Avalue%0 > Dhello%20my%20name%20is%20bill... etc, etc, etc... > > These are just examples of course... To see exactly how long your packet is, > use this: > > <cfwddx action="cfml2wddx" input="#myquery#" output="mywddx"> > <cfoutput>#len(urlencodedformat(mywddx))# : #len(mywddx)#</cfoutput> > > I'm not sure what the benchmarks are for IE ( or any browser ) converting > those urlencoded characters back to their ascii equivalents, but your wddx > packet is going to seriously pad that result anyhow, since it'll double, > tripple or quadruple the number of urlencoded characters. > > S. Isaac Dealey > Certified Advanced ColdFusion 5 Developer > > www.turnkey.to > 954-776-0046 > > > Yes - how big is the packet? Remember that URL variables are in the > > header > > (in the 'querystring') and as such there is a limit to the total size. > > This > > is why POST operations work better for this sort of thing. > > > -----Original Message----- > > From: Bryan Stevenson [mailto:bryan@;electricedgesystems.com] > > Sent: Wednesday, November 06, 2002 2:02 PM > > To: CF-Talk > > Subject: WDDX packet sent via URL > > > > Hey All, > > > I'm trying to send a WDDX packet that contains a query object with 17 > > fields > > (with 1 record with values) via the URL (using CFLOCATION) and all that > > happens is the browser (IE 5.5 sp2) spins and never gets to the next page > > (no error....just keeps spinning). > > > If I output the packet before the CFLOCATION and then throw in a CFABORT, > > the packet displays just fine. If I let the processing continue to the > > CFLOCATION...the spinning begins. > > > Any thoughts? > > > TIA for any help > > > Cheers > > > Bryan Stevenson B.Comm. > > VP & Director of E-Commerce Development > > Electric Edge Systems Group Inc. > > t. 250.920.8830 > > e. [EMAIL PROTECTED] > > > --------------------------------------------------------- > > Macromedia Associate Partner > > www.macromedia.com > > --------------------------------------------------------- > > Vancouver Island ColdFusion Users Group > > Founder & Director > > www.cfug-vancouverisland.com > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

