Add the red part to register.asp
if strAuthType = "db" then
select case chkUser(Request.Form("Name"), Request.Form("Password"))
case 1, 2, 3, 4
Call DoCookies("false")
strLoginStatus = 1
AUHandleLoging()
case else
strLoginStatus = 0
end select
end if
Nathan Bales
Snitz Exchange | Do's and Dont's
Edited by - Nathan on 28 May 2002 10:15:15