Forums
This topic is locked
Problem - Restrict Access To Page function
18 Apr 2006 20:29:22 YC ong posted:
Please help and give me some advice. The due date for my project is around the corner.I faced the "Restrict Access to page" function problem although i follow all steps to create login page to restrict page. The problem is when the 2 access level person who are administrator and user login, the login page will redirect to the access denied page. The administrator level person should redirect to the page that i had set Restrict Access To Page.
I had chosen the Restrict access base on username, password and access level, and get level from "database". Then for the Restrict Access To Page function at the Restrict page, I had chosen username,password, and access level. At Selects Level(s), there are adminstrator and user which follow the name of the access level field in the database. I selected administrator and set the access denied page.
Please help...
Thanks in advance.
Yuki
Replies
Replied 19 Apr 2006 08:53:28
19 Apr 2006 08:53:28 YC ong replied:
I want to add I had found an error when i click on the Live Data View button. It pop up a message, "Live Data Error: an error occured while requesting the document from the testing server" on the restrict page.
Yuki
Yuki
Replied 20 Apr 2006 07:56:25
20 Apr 2006 07:56:25 YC ong replied:
I get the answer already after I tried.
Actually just change the accessLevel field's data type to text in the database. Then everything is work perfectly. Last time I faced the problem is because of the data type I set is char.
Yuki
Actually just change the accessLevel field's data type to text in the database. Then everything is work perfectly. Last time I faced the problem is because of the data type I set is char.
Yuki