I have a field in some of my tables that contains a hyperlink that opens a new page in a new window. I have permissions set on some tables in the application. Unless the user has total access, they can not open the page when the hyperlink is clicked on. The security check at the top of the page is as follows:
'// check if logged in
if SESSION("UserID")="" or not CheckSecurity(SESSION("OwnerID"),"Search") then
SESSION("MyURL")=request.ServerVariables("SCRIPT_NAME")&"?"&request.ServerVariables("QUERY_STRING")
response.Redirect "login.asp?message=expired"
response.End
end if
The users without full permissions are redirected to the login page.
I did not have this problem before Version 4.1. What can I do so that users who only have List/View and Export/Print permissions on some of the tables can open the pages using the hyperlinks?
Any suggestions would be greatly appreciated.
Thanks.