So if it failing with a ? In the url, could you give us a
couple of examples
of what those look like. Do the relative paths include
locational
information (e.g. ./default.aspx instead of default.aspx)?
Thanks,
Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Pete Moss
Sent: Wednesday, April 26, 2006 9:30 PM
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Response.Redirect not working with IE
in Internet Zone
I have an odd problem in my application when I use
Response.Redirect(url,
false) where url is a relative URL. Everything is fine if
the app is running
in the Intranet Zone, but when I switch to running in the
Internet Zone, the
Response.Redirect() does nothing in an IE browser. It works
fine in Firefox,
though!
It works most of the time if there are no URL-encoded
parameters, but never
works if there is something following following a '?' in
the URL. I have
found 18 of the 20 cases with no parameters where it works.
I can't
understand why those other 2 don't work.
Does anyone know why this could be happening? I did see in
the
Response.Redirect() doc the following line:
An absolute URL (for example, http://www.contos
o.com/default.aspx) or a
relative URL (for example, default.aspx) can be specified
for the target
location but some browsers may reject a relative URL.
I wonder if the "some browsers may reject a relative
URL" may be what is
causing me the problem. Is there an IE security setting that
might allow
this to work?
===================================
This list is hosted by DevelopMentorR http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|