Access Level Conditional Redirect
Posted on 2004-08-09
I am working on a project using a datagrid. I have two different pages, 1 that is read only and 1 that has insert & edit buttons on the page. I have built a login page and have a table in my database that has a login, password, and access column. I am using dreamweavers built in "login" behavior and their "restrict access to page" behavior. What I want to do is this:
If the user logs in and their access level=1 then I want them to be sent to the read only page. If their access level=2 then I want them to be sent to the read & write page.
I will probably need some hand-holding thru this as I get over my head really fast when modifying code.