从 Acrobat Reader 进行 HTTP POST 后浏览器挂起

发布于 2024-11-06 09:39:17 字数 375 浏览 4 评论 0原文

Adobe Acrobat 浏览器插件用于接受用户的表单输入。用户完成 PDF 表单并单击提交按钮后,表单数据将发布到 Asp.Net 页面,该页面接受数据、存储数据并以 HTML 形式返回消息。

这在 Firefox 中的 Acrobat Reader 中运行良好。在我们的目标浏览器 Internet Explorer 中,提交 PDF 表单后,数据被 Asp.Net 接受,保存到磁盘,并且通过数据包嗅探器,我可以看到 HTML 响应已提供,但 IE 挂起卸载 PDF 后,就像尝试加载响应一样,但从未加载。

我已确定该问题出现在 IIS6 和 IIS7 中,无论有或没有 SSL,在 Windows XP 和 7 上,以及在 Adob​​e Reader 9 和 10 上;我忽略了哪些考虑因素?

The Adobe Acrobat browser plug-in is being used to accept form input from a user. After a user has completed the PDF form and clicked its submit button, the form data is posted to an Asp.Net page that accepts the data, stores it and returns a message as HTML.

This works fine in Acrobat Reader in Firefox. Within Internet Explorer, our targeted browser, after the PDF form has been submitted, the data is accepted by Asp.Net, saved to disk and, by way of a packet sniffer, I can see that the HTML response is served, but IE hangs after the PDF is unloaded like it's trying to load the response, but never does.

I've determined that the problem occurs with IIS6 and IIS7, with or without SSL, on Windows XP and 7, and with Adobe Reader 9 and 10; what considerations am I overlooking?

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

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

发布评论

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

评论(1

久光 2024-11-13 09:39:17

当 Acrobat Reader 插件发送 HTTP POST,然后调用如下所示的警报对话框时,Internet Explorer 中似乎会出现此行为:

app.alert({
    cMsg: "Error! Try again!",
    cTitle: "Acme Testing Service"
});

该问题似乎源于运行脚本< /strong> HTTP POST 已发送;重新排序事件顺序解决了我遇到的问题。

This behavior seems to occur in Internet Explorer when the Acrobat Reader plug-in sends the HTTP POST followed by an alert dialog box being invoked with something like the following:

app.alert({
    cMsg: "Error! Try again!",
    cTitle: "Acme Testing Service"
});

The issue seems to stem from running a script after the HTTP POST has been sent; reordering the sequence of events has resolved the issue I was experiencing.

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