Hi Guys,
I have 3 pages.
openwindow1.asp
openwindow2.asp
openwindow3.asp
In openwindow1.asp I have a login form that onSubmit opens openwindow2.asp(which is s new window) where a script confirms if the login info is correct then allows the user to see the content of openwindow2.asp, if the info is not valid then the script sends the user to openwindow3.asp.
The problem:
I want the login form on openwindow1.asp to open openwindow2.asp in a new window and execute the script accordingly. However, everytime that I try opening openwindow2.asp in a new window the scripts keeps sending me to openwindow3.asp rather that openwindow2.asp as if the login were incorrect.
How can I still open a new window and ge the validating script work as well.
The script I added is the script on openwindow2.asp that validates the login info sent from openwindow1.asp
Code:
<%
If Request.Form("username") = "member" AND Request.Form("password") = "member" Then
%>Content yada yada yada
Code:
<% Else %>
<%
Response.Redirect("openwindow3.asp")
End If
%>
Any help would be greatly appreciated,
Javier
I have 3 pages.
openwindow1.asp
openwindow2.asp
openwindow3.asp
In openwindow1.asp I have a login form that onSubmit opens openwindow2.asp(which is s new window) where a script confirms if the login info is correct then allows the user to see the content of openwindow2.asp, if the info is not valid then the script sends the user to openwindow3.asp.
The problem:
I want the login form on openwindow1.asp to open openwindow2.asp in a new window and execute the script accordingly. However, everytime that I try opening openwindow2.asp in a new window the scripts keeps sending me to openwindow3.asp rather that openwindow2.asp as if the login were incorrect.
How can I still open a new window and ge the validating script work as well.
The script I added is the script on openwindow2.asp that validates the login info sent from openwindow1.asp
Code:
<%
If Request.Form("username") = "member" AND Request.Form("password") = "member" Then
%>Content yada yada yada
Code:
<% Else %>
<%
Response.Redirect("openwindow3.asp")
End If
%>
Any help would be greatly appreciated,
Javier