回发是不是在Safari工作在Windows 7 [英] Postback is not working in Safari in Windows 7

查看:107
本文介绍了回发是不是在Safari工作在Windows 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的QA小组报告说,我们的应用是不是在Safari工作在Windows 7中检查,我们想通了,任何回发事件不工作问题后。一些尝试后,我们发现Page.IsPostback()报告虚假,并认为它是页面首次加载和回传没有包括的ViewState。

Our QA team reported that one of our applications is not working in Safari in Windows 7. After checking the problem we figured out that any postback event is not working. After some tries we found that Page.IsPostback() reports false and thinks it’s a first-time load of the page and postback did not include ViewState.

我们尝试了许多解决方案,包括结果
<一href=\"http://www.ablemods.com/Blog/post/2012/07/20/ASPNet-postback-problem-with-ViewState-in-Safari-on-Windows-7.aspx\"相对=nofollow> ASP.Net回发问题的ViewState在Windows上的Safari 7 结果
视图状态使用Safari 结果无效时
<一href=\"http://weblogs.asp.net/lduveau/archive/2007/04/17/viewstate-chunking-in-asp-net-2-0-maxpagestatefieldlength.aspx\"相对=nofollow>的ViewState在ASP.NET 2.0分块(maxPageStateFieldLength)

We tried many solutions including
ASP.Net postback problem with ViewState in Safari on Windows 7
Viewstate invalid when using Safari
ViewState Chunking in ASP.NET 2.0 (maxPageStateFieldLength)

但都没有带来Safari浏览器的工作。

but all didn't bring Safari to work.

有什么特别的这个应用程序。它是使用一个母版页是非常正常的母版页正常页。

There is nothing special about this application. It is normal pages that use one master page that is a very normal master page.

有什么建议?

推荐答案

Safari浏览器在IIS下使用Windows身份验证时,如果协商提供商被启用,因此AJAX POST不工作有问题。

Safari has an issue when working with Windows Authentication under IIS if Negotiate provider is enabled so AJAX POST is not working.

如何解决?结果
在IIS,去你的网站的身份验证设置。右键单击Windows身份验证,选择供应商,并删除协商,留下NTLM这使得一切工作正常。

How to resolve?
In IIS, go to the Authentication settings of your website. Right click on Windows Authentication, choose providers and remove Negotiate, leaving NTLM this makes everything works fine.

[参考文献] 结果
AJAX POST请求,只有当工作在Safari 5 < BR>
协商机制在维基百科一文表明,它是不是在Safari实施

[References]
AJAX POST Request Only Works Once in Safari 5
Negotiate Mechanism article in Wikipedia shows that it is not implemented in Safari

这篇关于回发是不是在Safari工作在Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆