forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDSIPP.DLL and Post for ASP pages...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Thu Jan 15, 2004 4:41 am    Post subject: VDSIPP.DLL and Post for ASP pages... Reply with quote

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:&nbsp;</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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Jan 15, 2004 5:46 am    Post subject: Reply with quote

The syntax appears to be correct.
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Thu Jan 15, 2004 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Jan 15, 2004 3:51 pm    Post subject: Reply with quote

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 Sad 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
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Thu Jan 15, 2004 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Jan 15, 2004 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Jan 15, 2004 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group