473,398 Members | 2,393 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,398 software developers and data experts.

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.redirect
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 3298
is there a reason the asp page cannot post directly to the asp.net page ?
<je******@yahoo.com> wrote in message news:11**********************@g49g2000cwa.googlegr oups.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.redirect
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.googlegr oups.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.redirect
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.com> wrote in message
news:%2****************@TK2MSFTNGP15.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.googlegr oups.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.redirect
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
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...
0
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...
2
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...
25
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...
2
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: ...
2
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...
5
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...
0
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...
7
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.