<!--#INCLUDE FILE="incADO.asp"-->
<%
strReturn = request("Return")
if strReturn <> "" then
else
if Session("UserName") <> "" then
Response.Redirect "menu.asp"
end if
end if
'Set all form variable values equal to NULL
strUserName = ""
strPassword = ""
strLogin = ""
strSubmit = ""
strEmailAddress = ""
'Retrieving form input and assigning to a variable
'txtUserName is the name of a text box on the form
strUserName = Request.Form ("txtUserName")
strPassword = Request.Form("txtPassword")
strLogin = request("cmdLogin")
strSubmit = request("cmdSubmit")
strEmail = request("txtEmail")
action = request("action")
'This code only runs if the submit button is clicked
if strLogin <> "" then
'Sets an error message if any required fields are left blank
if strUserName = "" or strPassword = "" then
WarningErrMsg = "<br> All fields are required."
end if
'If error message was not set, then all error checks were passed; Connect to the database
if WarningErrMsg = "" then
(not the complete page)
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40:





by: aiklamhaPosted on 2008-04-10 at 17:44:34ID: 21330630
seems like a problem with the driver.... or connection string..
you can open .asp files in any text editor... open and paste the code here