472,805 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Internet Explorer & Response.Redirect

Anyone know how I can figure out the figure out the response.redirect trail a browser goes through when I'm using response.redirect on the server. Right now Internet Explorer just automatically redirects, I need to figure out, on the client, the pages it is being told to go to. Yes I know I can look in the address bar, but say the Response object is redirecting 3 or 4 pages per Request. I need this for a debugging issue.

Thanks
--Michael
Nov 18 '05 #1
3 1930
If you are doing more than one Response.Redirect, you are not using it
correctly, from a .NET perspective.

The only way to debug is to do it locally, and slap breakpoints in each
potentially used page. From the client side, you can only, realistically,
track one page at a time, although you can get the history for the last few
pages (Response.Redirect leaves footprints) by going back in history, in
JavaScript, on the final page.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Raterus" <ra*****@spam.org> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
Anyone know how I can figure out the figure out the response.redirect trail
a browser goes through when I'm using response.redirect on the server.
Right now Internet Explorer just automatically redirects, I need to figure
out, on the client, the pages it is being told to go to. Yes I know I can
look in the address bar, but say the Response object is redirecting 3 or 4
pages per Request. I need this for a debugging issue.

Thanks
--Michael
Nov 18 '05 #2
install netmon and run a trace.

-- bruce (sqlwork.com)
"Raterus" <ra*****@spam.org> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
Anyone know how I can figure out the figure out the response.redirect trail
a browser goes through when I'm using response.redirect on the server.
Right now Internet Explorer just automatically redirects, I need to figure
out, on the client, the pages it is being told to go to. Yes I know I can
look in the address bar, but say the Response object is redirecting 3 or 4
pages per Request. I need this for a debugging issue.

Thanks
--Michael
Nov 18 '05 #3
"Raterus" <ra*****@spam.org> wrote in message
news:Ow**************@TK2MSFTNGP11.phx.gbl...
Anyone know how I can figure out the figure out the response.redirect trail
a browser goes through when I'm using response.redirect on the server.
Right now Internet Explorer just automatically redirects, I need to figure
out, on the client, the pages it is being told to go to. Yes I know I can
look in the address bar, but say the Response object is redirecting 3 or 4
pages per Request. I need this for a debugging issue.

Response.Redirect changes the headers in the response from the server to the
client. It makes the status be "302 - Found", and it adds a Location: header
with the URL you specified in the Response.Redirect.

The client sees this response and requests the URL specified in the Location
header. That's all.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #4

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

Similar topics

0
by: Mark | last post by:
We've run into a problem using IE on Mac with Internet Explorer. If you use Response.Redirect (a server side redirect) about 9 - 10 times, with one per ..aspx page, the postbacks on our ASP.NET...
0
by: Dave | last post by:
Is this possible? Here is my current code (which opens the pdf in Internet Explorer) Dim crReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument Dim crExportOptions As...
1
by: JohnathanKong | last post by:
Hello, I hope this is the right place to post, but anyways, here goes. I current have a forum, snitz, in place, but am having an IE specific problem. Basically what happens is, I have a page that...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.