I have a problem maybe someone can help me with.
I am upgrading my site to ver 7 and I need to check a user’s password. I have an advertising system that runs off the database and in order for someone to log in to it they need to use there forum password.
Heres the code I have now
##########################################
username = Request.Cookies("Forum")("UID")
pass=Request.QueryString("pass")
SQL = "Select * From tblAuthor Where User_code = '"& username &"'"
Set RS = DBConnection.Execute(SQL)
name = RS("Username")
passcheck = RS("password")
salt = RS("salt")
'Check password
pass = pass & salt
'Incript password
pass = HashEncode(pass)
if pass = passcheck Then
#########################################
I get this error
########################################
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'HashEncode'
/ads/data/pass.asp, line 23
###########################################
Dose anyone have any ideas