response.redirect"adminframe.asp"
先执行,提前转向了<script language="JavaScript">
window.open ("adminframe.asp","top=100,left=90,toolbar=yes,width=800,height=400,menubar=yes, scrollbars=yes, resizable=yes, location=yes, status=yes");
</script>
<%
end if
end if
res.close
set res=nothing%><script language="JavaScript">
window.close();
</script>