Forums
This topic is locked
ASP example in UD 4 for Dummies
Posted 15 Jul 2002 13:24:19
1
has voted
15 Jul 2002 13:24:19 Peter Sampson posted:
I have entered an example piece of code in a "log In" page as shown in UltraDev 4 for dummies. Page 195.This is the code and why isn't it working. The error is:
if (String(Request("login"


Here is the full code:
<%
if (String(Request("login"


if (rsUsers.EOF) {//i.e no matching record found
Response.Redirect("pannellist_login_fail.asp"

}
else {
//**********************************************************
Session("UserID"


Session("Name"


//**********************************************************
Response.Redirect("friends_selection.asp"

}
}
%>