⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logoff.asp

📁 一个聊天室程序
💻 ASP
字号:
<%
nickname = Request.Cookies("nick")
nickname_entry = nickname & "#"

Response.Cookies("nick")=""
APPLICATION.LOCK

'**********************************
'** Tell everyone goodbye        **
'**********************************

Application("chat10") = Application("chat9")
Application("chat9") = Application("chat8")
Application("chat8") = Application("chat7")
Application("chat7") = Application("chat6")
Application("chat6") = Application("chat5")
Application("chat5") = Application("chat4")
Application("chat4") = Application("chat3")
Application("chat3") = Application("chat2")
Application("chat2") = Application("chat1")
Application("chat1") = "<img src=out.jpg width=13 height=14 alt=Bye>" & "<FONT COLOR=""red"">  " & nickname & " 离开聊天室.</FONT>"

'**********************************
'** Drop the Count by 1          **
'**********************************

Application("sessCount") = Application("sessCount") - 1

'**************************************
'** Find the slot name, and erase it **
'**************************************

If Application("slot1") = nickname then Application("slot1") = ""
If Application("slot2") = nickname then Application("slot2") = ""
If Application("slot3") = nickname then Application("slot3") = ""
If Application("slot4") = nickname then Application("slot4") = ""
If Application("slot5") = nickname then Application("slot5") = ""
If Application("slot6") = nickname then Application("slot6") = ""
If Application("slot7") = nickname then Application("slot7") = ""
If Application("slot8") = nickname then Application("slot8") = ""
If Application("slot9") = nickname then Application("slot9") = ""
If Application("slot10") = nickname then Application("slot10") = ""

APPLICATION.UNLOCK

%>
<html>
<%
'******************************
'** Close the window         **
'******************************
%>
<head><script language="JavaScript">
{close();}
</script>

<title></title>
</head>

<body>
</body>
</html>

⌨️ 快捷键说明

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