Re: How to post a web form to an external isapi?



On Sun, 23 Jul 2006 11:45:15 +0200, Øystein Olsen
<oystein.marius.olsen@xxxxxxxxxxxxxxxxxxx> wrote:

On Sat, 22 Jul 2006 23:23:08 +0200, "Jacek Stawicki"
<jstawik@xxxxxxxxx> wrote:


Uzytkownik "Oystein Olsen" <oystein.marius.olsen@xxxxxxxxxxxxxxxxxxx>
napisal w wiadomosci news:pth4c29uoo8489u5qql380crrci1csdofl@xxxxxxxxxx
Hi, I'm in need of help.

My web page is built up from nested masterpages. In the page
containing the main content i have a form that I want to post to a
external site (isapi dll). I want to use serverside scripting to be
able to use the validation controls.

Using GET to send the data is out of the question, because the data
contains username and password that I don't want the browser to store
in it's history stack.

Any Idea how to do this with c# and .NET 2.0?

GET or POST method without encryption gives the same result.
If you are able to connect over SSL channel, do this.

Well the server im posting to uses SSL encryption. The reason i don't
want to use GET is that the information sent, is stored in the
browsers history for others to easily see.

Ok found a solution to this on the web. I create a class that takes an
url and a list of field values in. The class has a method called post
that dynamicly creates a html page that contains a form based on the
url and field values. This html page aslo has a onload event on its
body that submits the form.


--
Øystein Olsen
.



Relevant Pages

  • Posting Data to pages using VBA (Microsoft.XMLHTTP and MSXML2.ServerXMLHTTP.4.0)
    ... with the POST method. ... The code would populate the objects by modifying the HTML ... like to see testB.htm in the responseText when I post testA.htm. ... Set xmlHTTP = CreateObject ...
    (microsoft.public.scripting.vbscript)
  • RE: http POST from asp .Net to older asp application
    ... application via the post method. ... Server 2003 asp webpage. ... When I call the application from within an html or asp page, ... variables (idProjectName and idProjectID). ...
    (microsoft.public.dotnet.general)
  • Re: problem with POST method.
    ... is possible put a "POST" value in header into a page? ... > but i don't want set the value of $variabile in a HTML line; i want to pass this value every for POST method loading it in header at page and to allow to read this value using: ... The option chosen by the user was <?PHP echo $myvar; ...
    (alt.php)
  • Re: GET and POST
    ... Newsgroups: comp.lang.php ... html and php, ... I always try to use forms and the POST method to pass variables between pages. ...
    (comp.lang.php)
  • Re: Important note about NoHTML and Outlook 2002
    ... *everything* gets converted to plain text, not just HTML, so you lose all ... Protect your servers with 128-bit SSL encryption! ... transactions for serious online security. ...
    (NT-Bugtraq)