k.asp

来自「asp.net +AJAX无刷新聊天室」· ASP 代码 · 共 22 行

ASP
22
字号
<%
dim node,i,nodecount,isk
isk=false
set xml = CreateObject("Microsoft.XMLDOM") 
xml.async = false 
xml.load(Server.MapPath("online.xml")) 
set root = xml.documentElement 
set nodeLis = root.childNodes 
nodeCount = nodeLis.length
For i=1 to nodeCount 
set node = nodeLis.nextNode()
if node.selectSingleNode("username").text=session("username") then
isk=true
end if
next
set node=nothing
set nodeLis=nothing

if session("username")="" or not isk then
response.Write("showScreen")
end if
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?