As part of developing some ajax history behavior I encountered a weird thing: (my) ie7 doesn't recognize a page with different anchors (hashtags) as 2 different pages. The consequence is that when using the back-button ie7 skips over all previous urls (which only differ by the hashtag).
for example lets say I have browsed the following items in this order:
- www.google.com
- www.mysite.com/index#ajax1
- www.mysite.com/index#ajax2
- www.mysite.com/index#ajax3
hitting the backbutton while on www.mysite.com/index#ajax3 brings me back to www.google.com
I'm really breaking my head on this one. To check my sanity I tested some random pages with anchors, loaded the up and indeed the same problem.
As far as I know this is not expected behavior (all other browsers (chrome, ff, safari) tested work ok. Am I missing something really obvious here or is my install of ie7 just messed up?