我有一个FrameSet,我想进行身份验证,如果用户用户在Frame2中输入正确的密码,我就刷新FrameSet中的Frame1和Frame2,这段代码怎么写呢?
<%
If Request.QueryString("type") = "user" Then
Session("Who") = "user"
出现错误的地方 Response.Write "parent.Frame1.location=yhgl.html"
Response.Redirect "test.asp"
End If
%>
<%
If Request.QueryString("type") = "user" Then
Session("Who") = "user"
出现错误的地方 Response.Write "<script>parent.Frame1.location=yhgl.html;</script>"
Response.write "<script>location=test.asp</script>"
response.end
End If
%>
<%
If Request.QueryString("type") = "user" Then
Session("Who") = "user"
%>
<script language="javascript"><!--
window.parent.Frame1.location=yhgl.html
window.location=test.asp;
// --></script>
<%
response.end
End If
%>