[thelist] ASP posting form data
Warden, Matt
mwarden at mattwarden.com
Tue Aug 14 09:29:23 CDT 2001
On Aug 14, Tab Alleman had something to say about RE: [thelist] ASP posting...
>Would this be preferable to putting it into a hidden form variable and
>posting it to the new page for some reason?
Well, you'd have to do some encoding... which half-defeats the purpose of
posting rather than using querystrings. Otherwise, you'd get stuff like
this:
<input type="hidden" name="xmlPostData" value="<xml...>
<product id="5">
<qty sum="24">
<qtyitem value="11">
<qtyitem value="13">
</qty>
</product>
<product id="85">
...
</product>
">
I'm sure you can see how the quotes and >'s would wreak havoc on the
hidden form field.
To the original poster...
Tell me, do you have anything available to you other than ASP? or, do you
have a component available, or the resources to purchase one, which is
able to make HTTP requests?
To me, it looks like you either:
1.Use a component (you could even use MS's XML parse, I believe) to make a
POST request to the destination
2.Write teh post request yourself with Java or some other language.
I'd go for #1, personally.
hth,
--
mattwarden
mattwarden.com
More information about the thelist
mailing list