从 Acrobat Reader 进行 HTTP POST 后浏览器挂起
Adobe Acrobat 浏览器插件用于接受用户的表单输入。用户完成 PDF 表单并单击提交按钮后,表单数据将发布到 Asp.Net 页面,该页面接受数据、存储数据并以 HTML 形式返回消息。
这在 Firefox 中的 Acrobat Reader 中运行良好。在我们的目标浏览器 Internet Explorer 中,提交 PDF 表单后,数据被 Asp.Net 接受,保存到磁盘,并且通过数据包嗅探器,我可以看到 HTML 响应已提供,但 IE 挂起卸载 PDF 后,就像尝试加载响应一样,但从未加载。
我已确定该问题出现在 IIS6 和 IIS7 中,无论有或没有 SSL,在 Windows XP 和 7 上,以及在 Adobe 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当 Acrobat Reader 插件发送 HTTP POST,然后调用如下所示的警报对话框时,Internet Explorer 中似乎会出现此行为:
该问题似乎源于运行脚本< /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:
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.