473,320 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to post a web form to an external isapi?

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?

--
Øystein Olsen
Jul 22 '06 #1
3 1208

Uzytkownik "Oystein Olsen" <oy******************@gmailREMOVETHIS.com>
napisal w wiadomosci news:pt********************************@4ax.com...
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.
--
JS
BRE Bank Dev Team, Poland
Jul 22 '06 #2
On Sat, 22 Jul 2006 23:23:08 +0200, "Jacek Stawicki"
<js*****@gazeta.plwrote:
>
Uzytkownik "Oystein Olsen" <oy******************@gmailREMOVETHIS.com>
napisal w wiadomosci news:pt********************************@4ax.com...
>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.
--
Øystein Olsen
Jul 23 '06 #3
On Sun, 23 Jul 2006 11:45:15 +0200, Øystein Olsen
<oy******************@gmailREMOVETHIS.comwrote:
>On Sat, 22 Jul 2006 23:23:08 +0200, "Jacek Stawicki"
<js*****@gazeta.plwrote:
>>
Uzytkownik "Oystein Olsen" <oy******************@gmailREMOVETHIS.com>
napisal w wiadomosci news:pt********************************@4ax.com...
>>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
Jul 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Irene | last post by:
Hi, I have an asp page that allows a user to search for info in a DB and add info to a DB. The search uses "ADODB.Connection" objects in the page, but the add will use a call to an isapi dll...
3
by: Tom Donohue | last post by:
Hello All: I've got, what appears to be a simple problem, but am having a brain cramp on determining the best way to implement. Here is the requirement (I am using ASP.net v1.1) User enters...
2
by: Robert Oschler | last post by:
I am working on a PHP 4 app that interacts with an external authorization server. The external server does "third-party" authorization of users. So I do the following: 1) Each of my PHP scripts...
5
by: Joerg M. Colberg | last post by:
My apologies if this is a trivial problem. I have been trying to solve this for a few days now and I just can't get it done. Here's what I have. I have a C++ project in VisualStudio.NET whose code...
6
by: guoqi zheng | last post by:
In a regular html form, when user press "enter" key, the form will be submitted. However, in ASP.NET web form, a form will only be submitted (post back) when a special button is clicked. Many...
3
by: Michael Primeaux | last post by:
I'm writing an ISAPI DLL that calls into managed C++ code (same DLL). I'm receiving the following link errors: EditResponse.obj : error LNK2001: unresolved external symbol "int __cdecl...
0
by: bertkuiken | last post by:
I'm new to .net and c# but have done this before at j2ee and php. All i want is to post a xml file as a string from an external website and retrieve it from the postdata at my c# programming code....
4
by: Bosconian | last post by:
I have created a form tool page that consists of several dropdowns which allows a user to drill down and select a desired document for viewing in an external window. I need to post the form data to...
2
by: Georgy Malyshev | last post by:
Hello, All! I have a simplistic ASP application, only default.asp file without any scripts just HTML to say "Hello world!". It is running under IIS 5.1 on XP SP2 machine. I also have some...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.