hi,
i would like to action two forms from my asp web page!
the form now is actioning only login_db.asp, i would like to action another asp page (at the same time) called associate.asp!
How can this be done!
Here is the Code---->
<%
If Request.Form("action" <> "validate_login" Then
%>
<form action="login_db.asp" method="post">
<input type="hidden" name="action" value="validate_login" />
<table border="0">
<tr>
<td align="right">Login:</td>
<td><input type="text" name="login" /></td>
</tr>
<tr>
<td align="right">Password:</td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td align="right"></TD>
<td><input type="submit" VALUE="Login" /></td>
</tr>
</table>
</form>
<%
Else
strSQL = "SQL Statment is here!"%>Then
<%response.Redirect "associate.asp"%>
<%
Else
%>
'Login Failed code is here!
<%
'Response.End
End If
' Clean Upcode is here!
End If
%>
Thanks
Manraj
i would like to action two forms from my asp web page!
the form now is actioning only login_db.asp, i would like to action another asp page (at the same time) called associate.asp!
How can this be done!
Here is the Code---->
<%
If Request.Form("action" <> "validate_login" Then
%>
<form action="login_db.asp" method="post">
<input type="hidden" name="action" value="validate_login" />
<table border="0">
<tr>
<td align="right">Login:</td>
<td><input type="text" name="login" /></td>
</tr>
<tr>
<td align="right">Password:</td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td align="right"></TD>
<td><input type="submit" VALUE="Login" /></td>
</tr>
</table>
</form>
<%
Else
strSQL = "SQL Statment is here!"%>Then
<%response.Redirect "associate.asp"%>
<%
Else
%>
'Login Failed code is here!
<%
'Response.End
End If
' Clean Upcode is here!
End If
%>
Thanks
Manraj