Board logo

标题: [问题求助] TW 3.0不支持Server Push [打印本页]

作者: pyj2004    时间: 2010-3-5 14:56     标题: TW 3.0不支持Server Push

TW 3.0不支持Server Push

-----------------------

<%Response.Buffer = false%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="content-type:multipart/x-mixed-replace;boundary=BOUNDARY" />
<title>Server Push</title>
</head>
<body>
<%
Do While Response.IsClientConnected
NetBox.Sleep 1000
Response.Write Session.SessionID&" : "& now() & "<br>"&vbcrlf
Loop
%>
</body>
</html>

-----------------------

把以上代码保存为 test.asp, 然后用Netbox做服务器(不要用IIS,IIS不支持Sleep方法)

>>
[友情提供一个基于Netbox的Asp服务器(Aws V2.3 Beta),下载地址: http://e.ys168.com/?pyj2004  ]

然后运行这个http://127.0.0.1/test.asp

Tw3一直显示载入中,页面空白,实际上应该显示的是下面这样的

21912168 : 2010/3/5 14:54:35
21912168 : 2010/3/5 14:54:36
21912168 : 2010/3/5 14:54:37
21912168 : 2010/3/5 14:54:38
21912168 : 2010/3/5 14:54:39


经过多个浏览器测试只有Tw3不正常,其它均正常,如:
IE6/7, IE8兼容/非兼容模式, Sougou2, Opera, FF3,Safari

谢谢
作者: pyj2004    时间: 2010-3-6 09:34

没人来关注一下吗
作者: pyj2004    时间: 2010-3-6 14:26

知道原因了, 是黑名单过滤引起的,禁用之后就正常了

[attach]91141[/attach]
作者: pyj2004    时间: 2010-3-6 14:28

但是奇怪的是,我的黑名单里规则是空的,难道是内置了部分规则??
作者: roc    时间: 2010-3-8 11:12

感谢反馈,BUG已重现




欢迎光临 世界之窗论坛 (http://bbs.theworld.cn/) Powered by Discuz! 7.2