This topic is locked

Security on hyperlinks

3/7/2007 5:05:13 PM
ASPRunnerPro General questions
J
jawendell author

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.

Sergey Kornilov admin 3/7/2007

Jerome,
hard to tell without seeing the actual application.
Post it to Demo Account and send me a link along with some instructions on reproducing this error.

J
jawendell author 3/8/2007

Sergey,
Thanks for your reply. I was able to eliminate the problem I was having by rebuilding my application and uploading all new files to the server.
Thanks,
Jerome A. Wendell