<%'if Replace(request.cookies(cookies_name)("userid"), "'", "''")="" and then
'if Replace(request.cookies(cookiesname)("username"), "'", "''")="" and Replace(request.cookies(cookiesname)("password"), "'", "''")="" then
set rslogin=server.createobject("adodb.recordset")
rslogin.open"select * from lg50_my_user where username='"&username&"'",conn,1,3
if rslogin.eof and rslogin.bof and username<>"test" then
       response.redirect "login.htm"
end if
rslogin.close
set rslogin=nothing%>

