IE7 Back Button loses history in .NET application

While serving an ASP.Net application, I ran into an unusual problem with the back button in IE7. After selecting several links to aspx pages and then clicking the back button once, the IE back button will appear grayed out and the Quick History drop-down contains more entries. This is clearly wrong, as several links have been clicked to bring you to this point. The discovery of the actual story shows a complete trace, but for some reason, the back button simply cannot understand that there are more pages.

Now for some details:

  • .NET 2.0
  • The installer uses a master page that has page caching disabled (HttpCacheability.NoCache)
  • The page uses a prototype Ajax library to load dynamic content. The pages in the story are not dependent on Ajax calls, though, they use a static URI to load specific information and Ajax calls the context load information load. In other words, every page in the story has a URL, not something that an Ajax call changes
  • The problem does not occur in Firefox

I did a necessary Google search and came up with a few hits, but they basically said either "This is just IE" or "Use a REAL browser, such as Firefox," none of which are useful. Can anyone shed some light on this issue?

Thanks!

+3
source share
3 answers

Ajax ? Ajax . jQuery , Microsoft Ajax History.

+1

" , (HttpCacheability.NoCache)", , , . , .

0

Ajax, . . - , , , , -, -.

When using Ajax, you have some control over which part of the page is reloading, but all this is done using javascript, somewhere, one way or another, and therefore you do not fill out browser history entries in a regular estate. It is true that different browsers will handle this differently.

0
source

Source: https://habr.com/ru/post/1712896/


All Articles