Safari / Asp.Net
我不知道这个问题实际上在哪里,也不知道如何描述它,但我会尝试。
我有一个适用于所有浏览器的网站。现在,在所有浏览器上,当我将鼠标移到窗口上时,没有任何反应(这是正确的),但在 Safari 上,当我将鼠标移到窗口上时,会触发页面加载事件(IsPostBack 为 false)。
有谁知道为什么会发生这种情况或如何解决它?或者甚至从哪里开始?
我查看了标头,它们是标准的,没有表单数据,而且据我所知,没有 javascript 处理程序来引发此操作。
似乎我找到了一些东西,虽然不是答案 第一个请求完成后,请求头如下:
GET http://site/page HTTP/1.1
主机:servername.com
用户代理:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.51.22(KHTML,如 Gecko)
Version/5.1.1 Safari/534.51.22
接受:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
引用者:referingurl
接受语言:en-US
接受编码:gzip、deflate
Cookie:fontSize=小; ASP.NET_SessionId=vzjti1mpawery3gn3q2jeb5;
SSOPD=BhzM0ZnPn4qh2hqbVtN8wJrgaKycxw1tv3ly/pvpinCrBjsmAOulgZZ5ILBq2421kwMysm8MbmmgBtILxGYZ5RMWn+vbeqiaSIgi2GLszt8=
连接:保持活动
代理连接:保持活动
当我将鼠标移到页面上时,我得到:
GET http://site/页面 HTTP/1.1
主机:servername.com
用户代理:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.51.22(KHTML,如 Gecko)
版本/5.1.1 Safari/534.51.22
接受:/
引用者:referingurl
接受语言:en-US
接受编码:gzip、deflate
Cookie:fontSize=小; ASP.NET_SessionId=vzjti1mpawery3gn3q2jeb5; SSOPD=BhzM0ZnPn4qh2hqbVtN8wJrgaKycxw1tv3ly/pvpinCrBjsmAOulgZZ5ILBq2421kwMysm8MbmmgBtILxGYZ5RMWn+vbeqiaSIgi2GLszt8=
连接:保持活动
代理连接:保持活动
I dont know where this question actually goes or how to describe it but im going to try.
I have a site which works on all browsers. Now on all browsers when i move my mouse over the window nothing happens (which is correct), though on Safari, when I move my mouse over the window, i get the Page Load event firing (IsPostBack is false).
Anyone know why this is happening or how to fix it? Or even where to start?
I've looked at the headers, which are standard, there is no form data and as far as i can see there are no javascript handlers to cause this action.
Seems ive found something, though not an answer
Wehn the first requerst is done, the request header is as follows:
GET http://site/page HTTP/1.1
Host: servername.com
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.51.22 (KHTML, like Gecko)
Version/5.1.1 Safari/534.51.22
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Referer: referingurl
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fontSize=small; ASP.NET_SessionId=vzjti1mpawhery3gn3q2jeb5;
SSOPD=BhzM0ZnPn4qh2hqbVtN8wJrgaKycxw1tv3ly/pvpinCrBjsmAOulgZZ5ILBq2421kwMysm8MbmmgBtILxGYZ5RMWn+vbeqiaSIgi2GLszt8=
Connection: keep-alive
Proxy-Connection: keep-alive
After than when i move the mouse over the page i get this:
GET http://site/page HTTP/1.1
Host: servername.com
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.51.22 (KHTML, like Gecko)
Version/5.1.1 Safari/534.51.22
Accept: /
Referer: referingurl
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fontSize=small; ASP.NET_SessionId=vzjti1mpawhery3gn3q2jeb5; SSOPD=BhzM0ZnPn4qh2hqbVtN8wJrgaKycxw1tv3ly/pvpinCrBjsmAOulgZZ5ILBq2421kwMysm8MbmmgBtILxGYZ5RMWn+vbeqiaSIgi2GLszt8=
Connection: keep-alive
Proxy-Connection: keep-alive
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
VB 还是 C#?如果是 VB,请检查页面加载的 Handles 语句。它说什么?
另外,任何地方都有InitializeComponent 代码吗?
VB or C#? If VB, check Handles statement for page load. What does it say?
Also, any InitializeComponent code anywhere?