Hello all,
I have a question. I am using my own asp pages for username and password management, login,etc. I use ASPrunner to help me create pages for my database quickly. In order to use the ASPrunner security feature "users can view and edit own records only", I created a login page. But I don't use it. I override it with the following code in Beforeprocess on the Login Page:
If session("IsLoggedIn") = "" Then
response.redirect "nologin.asp"
else
SESSION("UserID") = session("USER") 'Session("User") is created when the user logs in on the main page succesfully
SESSION("AccessLevel") = ACCESS_LEVEL_USER
Response.Redirect "correspondentie_list.asp"
end if
Now all sessions are created succesfully. However, it says no records found. So i tested it, thinking i might have setup the relation current table-->main table ownerid wrong. I removed the above code and just logged in with a username and password from the db through the asprunner loginpage. What do you know; it works then.
So my question is, if I overrule the login page with single sign on, how come the "users can see only their own data" feature doesn't work anymore and how can i fix it.
TIA'
Hans