473,399 Members | 3,888 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,399 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 1967
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
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
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...
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.