【问题标题】:Iframed page gives session expires when submitting form in IE and Safari在 IE 和 Safari 中提交表单时,Iframed 页面会导致会话过期
【发布时间】:2012-10-17 17:39:22
【问题描述】:

您好,我在我的网站上使用由 iframe 显示的第三方订单。 使用 IE 或 Safari 时,iframe 拒绝接受表单提交,并显示错误框“会话已过期”

页面是: http://prepaidnuller.nl/gratisprepaid.php

如果您点击 bestel 按钮,您只需点击页面下方的“volgende”,您会收到一个错误框,提示会话已过期(IE 和 Safari)其他浏览器可以正常工作。

当关闭 iframe 然后手动刷新上面的页面,然后重试提交表单时,整个事情都被接受了。

关于 IE 和 Safari 如何接受表单提交的任何解决方案?并且不显示会话已过期。

【问题讨论】:

    标签: php javascript html iframe fancybox


    【解决方案1】:

    我的赌注?

    No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.

    Fancybox(像大多数 jQuery 插件一样)需要在标准模式下运行,这意味着必须设置正确的 DOCTYPE 声明。

    查看this good article 获取更多信息或简单地将其设置为文档的第一行:

    <!DOCTYPE html>
    

    顺便说一句,由于您使用的是带有 inline 内容的 fancybox v1.3.4,请注意THIS BUG 及其解决方法。

    【讨论】:

      猜你喜欢
      • 2012-03-13
      • 2012-02-17
      • 1970-01-01
      • 2014-08-14
      • 2012-10-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多