PDA

View Full Version : Restrict access to page


Anonymous
04-06-2005, 01:00 PM
This should be sooooo simple! But something is wrong....I have a site which logs user in, easy peasy no problem. Now, i want to restrict access to the pages based on an access level ( guest / member ). I have a field in my SQL DB table which is called AccessRights. On my login page I have the login behaviour, based on Username, Password, Access rights. Then on my main page i added the restrict access behavior and defined "Guest" and "Member"....both of which identically match the text in the database. However...no one, guest or member can access the page...after logging in it jumps straight to the page I set as 'if access denied goto'. Any ideas anyone, am i losing my mind ??!