<%
if request.cookies("shangdao")("administrator")="" or request.cookies("shangdao")("fox")="" or session("admin_shangdao")="" or request.cookies("fox")("domain")="" or session("admin_shm")="" then 
response.redirect "sd_Admin_Login.asp" 
end if
if Request.ServerVariables("SERVER_NAME")<>request.cookies("fox")("domain") then
response.redirect "sd_Admin_Login.asp"
end if
%>