<I actually don't experience this problem in IE 6.0 any more. When the article was first written, IE was notorious for this, however due to a lack of competing browsers in use, it was often blamed on IIS / ASP.>
#Bookmark references can be ignored when passed in combination with QueryString information, e.g.:
<a href="default.asp#bookmark?id=1">GO</a> OR <a href="default.asp?id=1#bookmark">GO</a> |
A workaround is to pass the bookmark as a querystring value, retrieve it and move to the bookmark using client-side script. For example, in your link:
| <a href="default.asp?id=1&bk=bookmark">GO</a> |
Then in default.asp:
<html> <body> <a name="bookmark">Bookmark</a> </body> <% bk = request.querystring("bk") if bk <> "" then %> <script language=javascript> self.location.hash="#<%=bk%>"; </script> <% end if %> </html> |
I have been told that you can avoid this problem by simply appending a meaningless QueryString value after your real data and before the #bookmark, e.g.:
| <a href="default.asp?id=1&foo=bar#bookmark">GO</a> |
But, as stated up top, I could not confirm this workaround because I can no longer reproduce the problem.