|
| |
|
|
akalana
Posts: 15 Joined: 10/17/2003 Status: offline
|
xmlhttp and POST - 2/22/2007 18:18:17
Hello, Is there a way to post a whole page post values from a form (instead of specifying each Request.Form variable) in xmlhttp.send? For example, today I'm using... <% url = "http://www.mywebsite/post_to_me.asp" set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", url, false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" xmlhttp.send "COMPANY_NAME = " & Request.Form("COMPANY_NAME")&" BOSS=" & Request.Form("BOSS_NAME")&"" set xmlhttp = nothing %> A little background: The above code is on the recipient action page of a website when a form posts. But...what I'm doing is also writing to an external db at another website http://www.mywebsite/post_to_me.asp" The issue is I have more request.form values that will need to be posted (about 40) and I was wondering if the xmlhttp.send allows you to send all form values posted instead of specifying each of them.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|