|
J
|
Jane 1/28/2010 |
|
Hi, |
|
|
M
|
MrDerp author 1/29/2010 |
|
Thanks Jane. |
|
|
J
|
Jane 1/29/2010 |
|
What ASPRunnerPro version do you use? |
|
|
M
|
MrDerp author 1/29/2010 |
|
I am currently using version 6.1. |
|
|
|
Sergey Kornilov admin 1/29/2010 |
|
My fault. Try the following: n=10 username = username & String(n-len(username)," ") password = password & String(n-len(password)," ") if bValue(NeedQuotes(cUserNameFieldType)) then username = ("'" & CSmartStr(db_addslashes(username ))) & "'" else username = 0+CSmartDbl(username ) end if if bValue(NeedQuotes(cPasswordFieldType)) then password = ("'" & CSmartStr(dbaddslashes(password ))) & "'" else password = 0+CSmartDbl(password ) end if strSQL = "select * LoginTableName where " & AddFieldWrappers(cUserNameField) & "=" & CSmartStr(username) & " and " & AddFieldWrappers(cPasswordField) & "=" & CSmartStr(password)
|
|
|
M
|
MrDerp author 2/1/2010 |
|
I've tried the updated code but I'm having the exact same problem. |
|
|
M
|
MrDerp author 2/3/2010 |
|
Any ideas? |
|
|
|
Sergey Kornilov admin 2/3/2010 |
|
Mr Derp, |
|
|
M
|
MrDerp author 2/5/2010 |
|
I managed to resolve this issue my adding the following lines to login.asp: |
|