Hello,
In the "Login page: Before process" event I have the following code:
strUN = "Select StaffID From Staff Where WinLog = '" & Request.ServerVariables("LOGON_USER") & "'"
Set objRS = Server.CreateObject("ADODB.Recordset")
objRS.Open strUN, dbConnection
SESSION("UserID") = objRS("StaffID")
objRS.Close : set objRS = Nothing
response.redirect "menu.asp"
This works in ver 6.0. In 6.1 I get a 500 error. If I change the redirect to something outside the app (like google) it works. If I rem out the redirect and do:
response.write Request.ServerVariables("LOGON_USER")
response.write Session("UserID")
I get the proper data displayed. It's just when I attempt to redirect to a page "inside" the app that it fails. I removed the redirect and logged in via the login form and got in fine. I then went to the admin area and verified I am set up as Admin with access to all tables, and that I could access all pages.
Let me know if you need more info.
Thanks for your help.
Tim