473,734 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to intercept a post to asp page?

I have customers posting data to an asp page. I would like to respond
to their request from an asp.net page without doing a response.redire ct
from the asp page. Is there some way to do a server.transfer from asp
to asp.net or intercept the request for the page in iis and handle it
in .net with out our users changing their URLs. The complicated part
is that this will only be for certain asp pages so it won't be safe to
do this across the board for every asp page.

Nov 19 '05 #1
3 3314
is there a reason the asp page cannot post directly to the asp.net page ?
<je******@yahoo .com> wrote in message news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have customers posting data to an asp page. I would like to respond
to their request from an asp.net page without doing a response.redire ct
from the asp page. Is there some way to do a server.transfer from asp
to asp.net or intercept the request for the page in iis and handle it
in .net with out our users changing their URLs. The complicated part
is that this will only be for certain asp pages so it won't be safe to
do this across the board for every asp page.

Nov 19 '05 #2
you need a url rewriting isapi filter. these must be written in c++, but
several examples exist.

-- bruce (sqlwork.com)

<je******@yahoo .com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have customers posting data to an asp page. I would like to respond
to their request from an asp.net page without doing a response.redire ct
from the asp page. Is there some way to do a server.transfer from asp
to asp.net or intercept the request for the page in iis and handle it
in .net with out our users changing their URLs. The complicated part
is that this will only be for certain asp pages so it won't be safe to
do this across the board for every asp page.

Nov 19 '05 #3
or just setup the IIS App Mappings for this site to have asp.net handle .asp
requests
you can then do your rewriting from within asp.net either in a HttpModule or
right in your Global.ascx
"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
you need a url rewriting isapi filter. these must be written in c++, but
several examples exist.

-- bruce (sqlwork.com)

<je******@yahoo .com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I have customers posting data to an asp page. I would like to respond
to their request from an asp.net page without doing a response.redire ct
from the asp page. Is there some way to do a server.transfer from asp
to asp.net or intercept the request for the page in iis and handle it
in .net with out our users changing their URLs. The complicated part
is that this will only be for certain asp pages so it won't be safe to
do this across the board for every asp page.


Nov 19 '05 #4

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

Similar topics

4
3402
by: _max_ | last post by:
HttpWebRequest() allows 'pseudo-browser' simulation to intercept incoming HTML for 'screen scraping', etc. But how would you do the opposite: Programmatically find out what a browser is sending to a website? (Probably via POST) I'd imagine this is done often, so maybe I'm just missing some terminology for doing the search. It seems you'd also have to simulate cookies to do this right. Is code available?
0
1350
by: zoltix | last post by:
Hi, I am beginner in aspx. I would like to intercept all click events on my document. I use this function in javascipt for that document.onmousedown=click;. It works well. But I would like to continue the execution code on a other button or anything else. Example 1) Click anywhere intercept click->Execute the code in function click().
2
2479
by: Ben de Vette | last post by:
Hi, When a user submits a form I want to return him/her a page, but at the same time I want to send him/her an exact copy of this page by mail. Is there a way to intercept the rendered HTML of a User Control befor it is included in the page where the User Control is used? Same question for the page, can I intercept the HTML? Thanks in advance,
25
17212
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from being uploaded. I'm also using the HtmlInputFile control to do the uploading. My problem is that when the user's file size exceeds 512k, the page immediately redirects to the "The page cannot be displayed" error page which is very confusing. ...
2
2148
by: rpale | last post by:
We want to create server-side code that will retrieve the user requested pages, then manipulate the content of those pages just before being sent back to the user. We tried the following: • User requests the page, call it http://www.test.com/testapp/test.aspx • IIS receives the request • HttpHandler is called for all .aspx files requested as defined in the web.config file for this application <httpHandlers> <add verb="*"...
2
2179
by: Jonathan Folland | last post by:
I have been working on this most of the day and cannot find a solution to my problem. I have an application where I may not actually have a page. for example a user may make a request for www.mydomain.com/page_that_does_not_exist.aspx. In the Application_BeginRequest, I am handling that by remapping the path to www.mydomain.com/index.aspx?page=page_that_does_not_exist The index.aspx page is smart enough to know to load a control named
5
3176
by: Benny | last post by:
I have a ASP.NET webservice and it is configured to run in a web garden with multiple processes. Whan a process in the garden is launched, I want the process to create a background thread. When request are received by this instance of the garden process, a meessage is posted to the background thread to do its work. When the garden process is being down by IIS (due to a period of inactivity), I want to notify the background thread to...
0
1198
by: rsiena | last post by:
When a page is requested in the .net architecture I believe there are a number of events that happen prior to .net actually trying to find the page in the file system. I would like to intercept the page request at that point to interrogate the requested page for possible redirect. I remember that in ASP 1.0 this was possible. Does anyone have an idea how to do this in Dot Net? The issue is that I would like to create a virtual file...
7
2106
by: Lit | last post by:
Hi, I have an update panel with a Submit Button. ( AJAXified ) Is there a way, good way, of Intercepting a submit before it happens? I would like to do something in JavaScript before proceeding with the submit process. How to Inject such JavaScript from Code Behind?
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
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
9182
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...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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
6031
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();...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
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.