<%
'------------------------------------------
' name CheckLogin()
' function 检测管理员登录
' author 高昕
' Date 2007-9-18
' ModifyDate
'------------------------------------------
function CheckLogin()
Dim username,password
if cstr(session("getcode"))<>cstr(trim(request("shuzi"))) then
response.Write "<script LANGUAGE='javascript'>alert('请输入正确的验证码!');history.go(-1);</script>"
response.end
end if
if request.cookies("username")="" then
if request.form("username")<>"" then
rs1.open "select * from houtai where username='"&request.form("username")&"'",conn,1,1
if not rs1.eof then
if rs1("password")=md5(trim(request.form("password")),16) then
response.cookies("username")=rs1("username")
response.cookies("password")=rs1("password")
CheckLogin=True
else
Call Logout()
CheckLogin=False
end if
else
Call Logout()
CheckLogin=False
end if
rs1.close
else
Call Logout()
CheckLogin=False
end if
else
CheckLogin=True
end if
end Function
Function Logout()
response.cookies("username")=""
response.cookies("password")=""
End function
%>
怎么调试出来的显示为空白呢??
[求助]怎么显示为空白啊???