|
| |
|
|
Joey
Posts: 167 Joined: 5/15/2002 From: Status: offline
|
AspHTTP - 1/20/2008 1:16:28
Anyone know how i would use Request.Form to capture incoming data and use it in the HTTPObj.PostData Set HttpObj = Server.CreateObject("AspHTTP.Conn")
HTTPObj.Url = "http://www.myfinancialpage.com/scripts/update3.asp"
HTTPObj.PostData = "suid=jimb&pwd=macabre&id=32&val=1.5"
HTTPObj.RequestMethod = "POST"
strResult = HTTPObj.GetURL i tried a couple of variations unsucsessfuly suid=Request.Form("suid")&pwdRequest.Form("pwd")&id=Request.Form("ID")& The post back works perfectly with static HTTPObj.PostData but i need dynamic info
|
|
|
|
Joey
Posts: 167 Joined: 5/15/2002 From: Status: offline
|
RE: AspHTTP - 1/20/2008 23:52:21
Got it to work with this: " & (Request("suid")) &"&pwd= " & Now i need to query my database and return a message based on the suid, i tried to include the asphttp post code into a drw but it doesnt work. " & (Request("suid")) &"&Message= " & (FP_FieldVal(fp_rs,"message")) & anyone know how to query a database based on the ID and return a database field in the post back?
< Message edited by Joey -- 1/21/2008 0:18:26 >
|
|
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
|
|
|