| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Thu Jan 15, 2004 4:41 am Post subject: VDSIPP.DLL and Post for ASP pages... |
|
|
Hi Guys,
Quick question for you... For the following example code (which is a form from a fictional ASP page), would I use the following VDS code to post and retrieve the results? That is, am I using the correct format? Am I setting up the post string correctly?
Thanks,
Boo
Code from ASP page:
<FORM action=http://asite.somewhere.com/ByNbr.asp method=post>
<TR>
<TH>Somewhere: </TH>
<TD><INPUT type=hidden value=first name=PostType> <INPUT type=hidden
name=RefPage>
<INPUT size=40 name=txtNbrs value="55555">></FORM></TBODY></TABLE>
<HR>
VDS code for VDSIPP.DLL:
INTERNET HTTP,POST,1,"http://asite.somewhere.com/ByNbr.asp","?PostType=first&RefPage=0&txtNbrs=55555"
%%results = @INTERNET(HTTP,CONTENT,1) |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Jan 15, 2004 5:46 am Post subject: |
|
|
| The syntax appears to be correct. |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Thu Jan 15, 2004 5:56 am Post subject: |
|
|
Cool; thanks.
However, I am experimenting with an actual page out there, and it is not working. The return page asks me to enter a required input number, when in all actuality, I am entering it in the post syntax.
Was the VDSIPP.DLL ever updated to work with the newest version of Indy? (I seem to recall a post about this awhile back.)
Thanks again,
Boo in Gulf Breeze |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Jan 15, 2004 3:51 pm Post subject: |
|
|
Try doing the post without using the ? in the parameters section. Also are you sure the script is not doing any checking server side to make sure the post isn't being done locally (a page from the server)?
The vdsipp was not updated to the newer Indy, it would take at least a months of work to do so and I currently don't have the time to do that I know the current Indy I am using has an issue with POST and some servers. It may be the server you are using has a configuration that the INDY http component does not recognize. |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Thu Jan 15, 2004 3:58 pm Post subject: |
|
|
Hi Again,
Yeppers, tried that (and no to your question). I tried the test site using the demo version of the Internet Suite Extension and it worked like a charm. The problem is definitely with the VDSIPP.DLL. (Most unfortunate, as I really need the Post command to work.)
Thanks,
- Boo |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Jan 15, 2004 4:41 pm Post subject: |
|
|
Hi,
Please email me at support@pgware.com , I'll send you an early beta version of the VDSIPP.DLL which uses the latest Indy 9. It still needs some work in regards to proxy and return code issues but most of the code base is using Indy 9. We'll see if this works for you in regards to the POST issues. |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Jan 15, 2004 8:53 pm Post subject: |
|
|
Hello,
I found the problem with the POST command. It appears the developers of INDY forgot to set the Request Content type correctly before issuing a post command.
The vdsipp is now fixed and works with the POST command. You can get the updated vdsipp 3.1.15.2004 - CLICK TO DOWNLOAD |
|
| Back to top |
|
 |
|