Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: Post idhttp object with multiform

www.cryer.info
Managed Newsgroup Archive

Re: Post idhttp object with multiform

Subject:Re: Post idhttp object with multiform
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 21 Mar 2006 11:39:00

"Axel" <borland.public.delphi.internet.winsock@newsgroups.borland.com> wrote
in message news:441fe5a3$1@newsgroups.borland.com...

> the lines you added,
> >                FormData.AddFormField('INTERACTIVE', '1');
> >                FormData.AddFormField('CMDLOGIN', 'Logon');
> are only for interactive authentication, with the browser.

Given the HTML you showed earlier, you MUST submit those two extra fields.
That is what real browsers are doing, since those fields are part of the
form.  The fact that they are declared to be hidden is completely
irrelevant.  That just means that the user does not see them, but the
browser does, and they are sent to the server as-is.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive