[thelist] Flash LoadVars.send to asp

Chris Johnston chris at fuzzylizard.com
Wed Aug 13 10:53:08 CDT 2003


> Hi List,
>
> I am using Flash LoadVars.send() to http:GET to an asp server page. The
> asp server page posts an email with the results *but* anywhere a pound
> sign is show it is preceded with a rogue char e.g.
>

I am not competely sure why this would be happening, however, I do know
that flash hsa problems handling some characters. We do some pretty
thorough recoding of some characters in order to make flash happy.

feedback = Replace(feedback,"'","'")
feedback = Replace(feedback,"%","%")
feedback = Replace(feedback,"<","&lt;")
feedback = Replace(feedback,">","&gt;")
feedback = Replace(feedback,"""","&quot;")

just as an example of a few. However, we still have problems with certain
characters when it comes to email.

>
> n.b. Am using GET becuase apparently windows flash player does not POST!
>

As for this, version 6 of the windows flash player handles POST just fine.
The only version that does not is the mac version of IE flash player, it
only handles GET. Otherwise, both the IE and Mozilla for windows will POST
and so will the Mozilla for Mac. I am not sure of the Mozilla linux flash
player though. I routinely do POSTS using loadVars.loadAndSend with values
of more then 300 characters without a problem.


-- 
Chris Johnston

chris at fuzzylizard.com
www.fuzzylizard.com


More information about the thelist mailing list