I'm having an issue that I can only produce in IE

I develop web sites using Cold Fusion, Perl, etc. and discovered a problem
that I can reproduce in IE (6 | 7) on IIS or Apache, with any language. If
I redirect (302) to any page targeting a named anchor, #top, IE thinks that
the named anchor is part of the page URL and any other click to local named
anchors forces a page reload.

Example:
In the following page, I've created a window.onunload() to
alert('Unloading...'); to detect the reloading.

http://www.blueletterbible.org/dan.html

Navigating to named anchors works as desired.

This simple script redirects you to that same page, but anchored to the
first, #1, named anchor.
http://www.blueletterbible.org/cgi-bin/dan.pl

If you follow any local named anchors, you'll see IE reloads the page as if
it were navigating to a new document and then all is normal again. By
altering the script to only redirect to the page, with no anchor, everything
works as desired.

I can produce the same problem with Cold Fusion or any other language
regardless of the platform of the web service or the browser. It only
happens to me with IE and not other tested browser.

Is this a known issue and are there any decent work arounds? No, not using
named anchors as a target of redirection is not a work around for us.


-Dan

Re: *** IE redirect to new page with named anchor by PA

PA
Fri Feb 29 15:33:49 PST 2008

Start here http://msdn2.microsoft.com/en-us/ie/default.aspx and here
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
AumHa VSOP & Admin http://aumha.net
DTS-L http://dts-l.net/

Dan Davis wrote:
> I'm having an issue that I can only produce in IE
>
> I develop web sites using Cold Fusion, Perl, etc. and discovered a problem
> that I can reproduce in IE (6 | 7) on IIS or Apache, with any language.
> If
> I redirect (302) to any page targeting a named anchor, #top, IE thinks
> that
> the named anchor is part of the page URL and any other click to local
> named
> anchors forces a page reload.
>
> Example:
> In the following page, I've created a window.onunload() to
> alert('Unloading...'); to detect the reloading.
>
> http://www.blueletterbible.org/dan.html
>
> Navigating to named anchors works as desired.
>
> This simple script redirects you to that same page, but anchored to the
> first, #1, named anchor.
> http://www.blueletterbible.org/cgi-bin/dan.pl
>
> If you follow any local named anchors, you'll see IE reloads the page as
> if
> it were navigating to a new document and then all is normal again. By
> altering the script to only redirect to the page, with no anchor,
> everything
> works as desired.
>
> I can produce the same problem with Cold Fusion or any other language
> regardless of the platform of the web service or the browser. It only
> happens to me with IE and not other tested browser.
>
> Is this a known issue and are there any decent work arounds? No, not
> using
> named anchors as a target of redirection is not a work around for us.
>
>
> -Dan


Re: *** IE redirect to new page with named anchor by In_Finite

In_Finite
Fri Feb 29 17:06:00 PST 2008

What does CSS have to do with IE misunderstanding named anchors? Did you
read somebody else's post while replying to mine?

-Dan

"PA Bear [MS MVP]" wrote:

> Start here http://msdn2.microsoft.com/en-us/ie/default.aspx and here
> http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
> --
> ~Robear Dyer (PA Bear)
> MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
> AumHa VSOP & Admin http://aumha.net
> DTS-L http://dts-l.net/
>
> Dan Davis wrote:
> > I'm having an issue that I can only produce in IE
> >
> > I develop web sites using Cold Fusion, Perl, etc. and discovered a problem
> > that I can reproduce in IE (6 | 7) on IIS or Apache, with any language.
> > If
> > I redirect (302) to any page targeting a named anchor, #top, IE thinks
> > that
> > the named anchor is part of the page URL and any other click to local
> > named
> > anchors forces a page reload.
> >
> > Example:
> > In the following page, I've created a window.onunload() to
> > alert('Unloading...'); to detect the reloading.
> >
> > http://www.blueletterbible.org/dan.html
> >
> > Navigating to named anchors works as desired.
> >
> > This simple script redirects you to that same page, but anchored to the
> > first, #1, named anchor.
> > http://www.blueletterbible.org/cgi-bin/dan.pl
> >
> > If you follow any local named anchors, you'll see IE reloads the page as
> > if
> > it were navigating to a new document and then all is normal again. By
> > altering the script to only redirect to the page, with no anchor,
> > everything
> > works as desired.
> >
> > I can produce the same problem with Cold Fusion or any other language
> > regardless of the platform of the web service or the browser. It only
> > happens to me with IE and not other tested browser.
> >
> > Is this a known issue and are there any decent work arounds? No, not
> > using
> > named anchors as a target of redirection is not a work around for us.
> >
> >
> > -Dan
>
>

Re: *** IE redirect to new page with named anchor by In_Finite

In_Finite
Wed Mar 05 16:15:01 PST 2008

That's it? This is what a Technet Plus subscription gets you these days?
This is a serious problem that the browser experiences. The resources you
linked to have nothing to do with this issue.

-Dan

"PA Bear [MS MVP]" wrote:

> Start here http://msdn2.microsoft.com/en-us/ie/default.aspx and here
> http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
> --
> ~Robear Dyer (PA Bear)
> MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
> AumHa VSOP & Admin http://aumha.net
> DTS-L http://dts-l.net/
>
> Dan Davis wrote:
> > I'm having an issue that I can only produce in IE
> >
> > I develop web sites using Cold Fusion, Perl, etc. and discovered a problem
> > that I can reproduce in IE (6 | 7) on IIS or Apache, with any language.
> > If
> > I redirect (302) to any page targeting a named anchor, #top, IE thinks
> > that
> > the named anchor is part of the page URL and any other click to local
> > named
> > anchors forces a page reload.
> >
> > Example:
> > In the following page, I've created a window.onunload() to
> > alert('Unloading...'); to detect the reloading.
> >
> > http://www.blueletterbible.org/dan.html
> >
> > Navigating to named anchors works as desired.
> >
> > This simple script redirects you to that same page, but anchored to the
> > first, #1, named anchor.
> > http://www.blueletterbible.org/cgi-bin/dan.pl
> >
> > If you follow any local named anchors, you'll see IE reloads the page as
> > if
> > it were navigating to a new document and then all is normal again. By
> > altering the script to only redirect to the page, with no anchor,
> > everything
> > works as desired.
> >
> > I can produce the same problem with Cold Fusion or any other language
> > regardless of the platform of the web service or the browser. It only
> > happens to me with IE and not other tested browser.
> >
> > Is this a known issue and are there any decent work arounds? No, not
> > using
> > named anchors as a target of redirection is not a work around for us.
> >
> >
> > -Dan
>
>

Re: *** IE redirect to new page with named anchor by PA

PA
Wed Mar 05 17:15:43 PST 2008

Those are MSDN pages, not TechNet.

TechNet Forums
http://forums.microsoft.com/technet/default.aspx?siteid=17

TechNet Newsgroups
http://www.microsoft.com/technet/community/newsgroups/topics/technet.mspx

MSDN Managed Newsgroups (US)
http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx
--
~PA Bear

Dan Davis wrote:
> That's it? This is what a Technet Plus subscription gets you these days?
> This is a serious problem that the browser experiences. The resources you
> linked to have nothing to do with this issue.
>
> -Dan
>
> "PA Bear [MS MVP]" wrote:
>
>> Start here http://msdn2.microsoft.com/en-us/ie/default.aspx and here
>> http://msdn2.microsoft.com/en-us/ie/aa740476.aspx
>> --
>> ~Robear Dyer (PA Bear)
>> MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
>> AumHa VSOP & Admin http://aumha.net
>> DTS-L http://dts-l.net/
>>
>> Dan Davis wrote:
>>> I'm having an issue that I can only produce in IE
>>>
>>> I develop web sites using Cold Fusion, Perl, etc. and discovered a
>>> problem
>>> that I can reproduce in IE (6 | 7) on IIS or Apache, with any language.
>>> If
>>> I redirect (302) to any page targeting a named anchor, #top, IE thinks
>>> that
>>> the named anchor is part of the page URL and any other click to local
>>> named
>>> anchors forces a page reload.
>>>
>>> Example:
>>> In the following page, I've created a window.onunload() to
>>> alert('Unloading...'); to detect the reloading.
>>>
>>> http://www.blueletterbible.org/dan.html
>>>
>>> Navigating to named anchors works as desired.
>>>
>>> This simple script redirects you to that same page, but anchored to the
>>> first, #1, named anchor.
>>> http://www.blueletterbible.org/cgi-bin/dan.pl
>>>
>>> If you follow any local named anchors, you'll see IE reloads the page as
>>> if
>>> it were navigating to a new document and then all is normal again. By
>>> altering the script to only redirect to the page, with no anchor,
>>> everything
>>> works as desired.
>>>
>>> I can produce the same problem with Cold Fusion or any other language
>>> regardless of the platform of the web service or the browser. It only
>>> happens to me with IE and not other tested browser.
>>>
>>> Is this a known issue and are there any decent work arounds? No, not
>>> using
>>> named anchors as a target of redirection is not a work around for us.
>>>
>>>
>>> -Dan