Hi all,
I am trying to deploy an ASPRunner page, running on IIS, connecting to a SQL Server database. I can bring up the login page, but I get this error when it first tries to connect to the database:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Session'
/supply/login.asp, line 48
The line in question is the third line below:
If StrComp(cPassword, Request("password"), vbBinaryCompare) = 0 _
and StrComp(cUserName, Request("username"), vbBinaryCompare) = 0 Then
Session("UserID") = Request("username")
Session("AccessLevel")=ACCESS_LEVEL_USER
Response.Redirect Replace("Contacts_list.asp", "%20", " ")
Can anybody explain to me what is going wrong?
Thanks!