martha
02-02-2005, 04:10 PM
Please, check this code:
<%
if dsAdminLogin.RecordCount > 0 then
Session("sessAdminUserName") = Request.Form("tfUsername")
FormsAuthentication.RedirectFromLoginPage ("admin", true)
else if ((Request.Form("tfUsername"))) <> Nothing
or ((Request.Form("tfPassword"))) <> Nothing
response.Write("Login failed. Please try again.")
end if
%>
When I try to browse the page, I get this error:
Compiler Error Message: BC30035: Syntax error.
Is there anything with my syntax?
Thanks in advance!
:)
<%
if dsAdminLogin.RecordCount > 0 then
Session("sessAdminUserName") = Request.Form("tfUsername")
FormsAuthentication.RedirectFromLoginPage ("admin", true)
else if ((Request.Form("tfUsername"))) <> Nothing
or ((Request.Form("tfPassword"))) <> Nothing
response.Write("Login failed. Please try again.")
end if
%>
When I try to browse the page, I get this error:
Compiler Error Message: BC30035: Syntax error.
Is there anything with my syntax?
Thanks in advance!
:)