When you type in your name and password and click on submit
you see an empty login form on the screen with the message:
"You logged on successfully!"
to prevent this, in inc_header.asp add the code in red:
select case Request.Form("Method_Type")
case "login"
strEncodedPassword = sha256("" & Request.Form("Password"))
select case chkUser(strDBNTFUserName, strEncodedPassword,-1)
case 1, 2, 3, 4
Call DoCookies(Request.Form("SavePassword"))
strLoginStatus = 1
strDBNTUserName = strDBNTFUserName
case else
strLoginStatus = 0
strDBNTUserName = ""
end select
case "logout"
Call ClearCookies()
end select
This will add another database call while logging in with the form.
if you have problems with active.asp (missing topics) add the code in red in inc_header.asp
if trim(strDBNTUserName) <> "" and trim(Request.Cookies(strUniqueID & "User")("Pword")) <> "" then
chkCookie = 1
mLev = cLng(chkUser(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"),-1))
chkCookie = 0
if IsEmpty(Session(strCookieURL & "last_here_date")) then
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName)
end if
else
MemberID = -1
mLev = 0
end if
Maybe I should have written this topic in the Mod forum but the first problem IMO should be looked at (it's not a bug).
Feel free to disregard this or delete