473,795 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1234

Uzytkownik "Oystein Olsen" <oy************ ******@gmailREM OVETHIS.com>
napisal w wiadomosci news:pt******** *************** *********@4ax.c om...
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************ ******@gmailREM OVETHIS.com>
napisal w wiadomosci news:pt******** *************** *********@4ax.c om...
>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************ ******@gmailREM OVETHIS.comwrot e:
>On Sat, 22 Jul 2006 23:23:08 +0200, "Jacek Stawicki"
<js*****@gazet a.plwrote:
>>
Uzytkownik "Oystein Olsen" <oy************ ******@gmailREM OVETHIS.com>
napisal w wiadomosci news:pt******** *************** *********@4ax.c om...
>>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
3261
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 via the "Microsoft.XMLHTTP" object. The results of the isapi dll will be displayed to the user without refreshing the asp page. I have a code snippet below for the isapi call. WHat is happening is that the xmlhttp.responseText from the snippet...
3
2662
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 information in web form (OK) User submits form (OK) On form submission, parse data and store as XML to a file on the server (OK) Automatically send the XML file to a remote server as an HTTP POST (Problem)
2
3124
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 has an include file (require_once) that checks to see if the current user has recently been authorized. 2) If not, the user is "handed off" to the external server. I do this by building the necessary URL for authorization and using refresh to...
5
1391
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 relies on external C code (GNU Scientific Library). That external code I added using Configuration Properties->Linker->Input->Additional Dependencies There, I specified two .lib files and the code compiles just fine. However, when it generates...
6
3816
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 user get used to click "enter" key to submit a form. How can I use "enter" key to submit/postback in ASP.NET. Thank, Guoqi Zheng
3
2064
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 stricmp(char const *,char const *)" (?stricmp@@$$J0YAHPBD0@Z) EditResponse.obj : error LNK2001: unresolved external symbol "int __cdecl strnicmp(char const *,char const *,unsigned int)" (?strnicmp@@$$J0YAHPBD0I@Z) I'm linking against the mscoree.lib...
0
1345
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. Most of the examples online describe the posting of data at an external website, without the code for the external website or examples where the data was posted from an asp page to an asp page. This is the code I used, but reading out of the...
4
3259
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 the external window so the values can be used to retrieve the appropriate document. The function below will open the window and post the form data accordingly, but when defining the action property it changes the original form action property....
2
1856
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 simplistic ISAPI extension DLL as reference point for my performance measurements. My client is a console application using WinInet API. Later I also wrote C# console application just to sure I made no mistakes in WinInet calls but it didn't change...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10438
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10214
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.