IE 后退按钮仅工作一次(就好像浏览器历史记录只有一个条目)

发布于 2024-08-28 03:50:08 字数 795 浏览 8 评论 0原文

我正在尝试解决浏览器历史记录问题。我们的一位客户有一个 ASP.Net Intranet 页面运行了一段时间。一位同事做到了。最近,他们要求修复我们在他们的页面(应用程序)上制作的“后退按钮”。

它查看站点地图,单击时加载父页面。但是,在某些情况下我必须使用“javascript:history.go(-1)”。在我们的测试系统上一切都运行良好,但是当我们将其部署到他们的测试服务器上时,它开始出现故障。我们注意到他们的生产环境也存在同样的问题。

显然他们所有的机器(运行 IE)只能返回浏览器历史记录中的一页。这不是故意的。我们让他们的一名 IT 员工尝试了其他一些浏览器和操作系统。显然这个问题(到目前为止)仅在使用 IE 时出现。他们测试的所有其他浏览器都很好。在我的开发系统上不会出现这个问题。此外,当我让其他人查看该网站时,问题也不会发生。

我检查了他们的浏览器历史记录长度设置为 20 天。我尝试在 stackoverflow 上搜索,但有关浏览器历史记录的唯一相关答案没有帮助。 如何清除浏览器(IE 、Firefox、Opera、Chrome)使用 JavaScript 或 Java 的历史记录(浏览器本身除外)?

另外按后退按钮(IE 中的按钮),它只能返回一页。我们无法向后导航超过一页。

我该如何解决这个问题?

服务器:W2k3 R2 SP2 客户端:我猜是 XP / IE 8 居多

I'm trying to fix a browser history issue. A customer of ours has a ASP.Net intranet page running for a while now. A colleague made it. Recently they asked to fix the "Back button" we made on their page (the application).

It looks at the sitemap and when clicked loads the parent page. However, in some situations I have to use "javascript:history.go(-1)". All worked fine on our test systems but when we deployed it on their test server it started to malfunctioned. We noticed that their production environment has the same problem.

Apparently all their machines (running IE) can only go back one page in the browser history. This is not intentional. We had one of their IT staff trying some other browsers and OS's. Apparently the problem (so far) only occurs when using IE. All other browsers they tested were fine. On my development system this problem doesn't occur. Also when I let someone else look at the site the problem doesn't occur either.

I have checked what their browser history length is set to and its 20 days. I tried searching here on stackoverflow but the only relevant answers concerning browser history didn't help.
How to clear browsers (IE, Firefox, Opera, Chrome) history using JavaScript or Java except from browser itself?

Also pushing the back button (the one in IE), it only works for just one page back. There is no way we can navigate more than one page back.

How can I fix this?

Server: W2k3 R2 SP2
Clients: XP I guess / IE 8 mostly

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烂柯人 2024-09-04 03:50:08

这看起来非常像您的客户站点内的本地配置问题,因此不太可能在其他地方看到,正如您已经证明的那样。您需要发现的是如何对其进行限制,而 SO 不适合这样做。您可能想尝试在超级用户上发帖以获得进一步的帮助。

This looks very much like a local configuration problem within your customer site and therefore unlikely to be seen elsewhere, as you've proved yourself. What you need to discover is how this could be restricted and SO isn't the place for that. You might want to try posting on SuperUser for further assistance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文