My web page is two frames. A form is displayed in the right hand frame with one input field.
I have a very short asp script. If the form input is valid I want to go to " in a full window, if it is not valid I want to send the user a message in the current frame. I tried using target="_top" in the <FORM> tag but then they both go to a full window.
How can I do that? Thanks
Here's my current script:
<%
If Request("Password" = "dummy" Then
Response.Redirect "Else
Response.Write "<html>"
Response.Write "<body background='../gifs/uniback.jpg'>"
Response.Write "<br>"
Response.Write "<center>"
Response.Write "<font size='4' color='red'>You have entered an incorrect code.</font>"
Response.Write "<br><br>"
Response.Write "<br><br>"
Response.Write "<strong> Please click on the 'BACK' button of your browser to try again.</strong>"
Response.Write "</center>"
Response.Write "</body>"
Response.Write "</html>"
End If
%>
I have a very short asp script. If the form input is valid I want to go to " in a full window, if it is not valid I want to send the user a message in the current frame. I tried using target="_top" in the <FORM> tag but then they both go to a full window.
How can I do that? Thanks
Here's my current script:
<%
If Request("Password" = "dummy" Then
Response.Redirect "Else
Response.Write "<html>"
Response.Write "<body background='../gifs/uniback.jpg'>"
Response.Write "<br>"
Response.Write "<center>"
Response.Write "<font size='4' color='red'>You have entered an incorrect code.</font>"
Response.Write "<br><br>"
Response.Write "<br><br>"
Response.Write "<strong> Please click on the 'BACK' button of your browser to try again.</strong>"
Response.Write "</center>"
Response.Write "</body>"
Response.Write "</html>"
End If
%>