Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/294.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么Internet Explorer中的“后退”按钮在PHP应用程序中坏了,但在其他浏览器中都能正常工作?_Php_Mysql_Internet Explorer_Back Button - Fatal编程技术网

为什么Internet Explorer中的“后退”按钮在PHP应用程序中坏了,但在其他浏览器中都能正常工作?

为什么Internet Explorer中的“后退”按钮在PHP应用程序中坏了,但在其他浏览器中都能正常工作?,php,mysql,internet-explorer,back-button,Php,Mysql,Internet Explorer,Back Button,我有一个PHP应用程序,除了Internet Explorer,它在所有浏览器中都能正常工作 应用程序基于MySQL数据生成报告。每个报表的某些字段都是可单击的,在使用PHP header()调用POST后,会将用户重定向到另一个页面/报表 在Safari、Firefox、Opera等中,当用户单击“后退”按钮时,他们将返回到上一页/报告。在Internet Explorer中,此行为被破坏,我收到一个“网页已过期”错误 我不担心在IE中使用“后退”按钮时提供过时的数据 IE中是否有允许这种行为

我有一个PHP应用程序,除了Internet Explorer,它在所有浏览器中都能正常工作

应用程序基于MySQL数据生成报告。每个报表的某些字段都是可单击的,在使用PHP header()调用POST后,会将用户重定向到另一个页面/报表

在Safari、Firefox、Opera等中,当用户单击“后退”按钮时,他们将返回到上一页/报告。在Internet Explorer中,此行为被破坏,我收到一个“网页已过期”错误

我不担心在IE中使用“后退”按钮时提供过时的数据


IE中是否有允许这种行为的设置,或者可以使用HTML/PHP指令?

否。Firefox、Chrome等在这里实现了一个特定的功能,它指出浏览器历史记录中的最后一页实际上并不重要。IE显然没有这个功能,也不知道这个功能可能存在,所以没有办法让它拥有它。(不过,新版本可能会实现这种行为。不确定。)

因为它实际上不是关键任务,看起来那些使用旧浏览器的人只需要处理较少的体验。对不起

试试这个:


这不就是要解决的问题吗?(我自己也不确定——因此是评论而不是回答!)