Forms Authentication based on roles.

  • Thread starter Luis Esteban Valencia Muñoz perrohijueputa@hotmail
  • Start date
L

Luis Esteban Valencia Muñoz perrohijueputa@hotmail

HI,
I have the following problem.
I am making a portal of DJs. The djs must have a Menu, the administrator
another menu. I created 2 directories one for djs and one for
administrators. I want the pages of those subdirectories to be protected
The users table have a field called roles and the format of the fied is
"Administrators,Users,Djs".

One user can be administrator and dj at one.

Anyway the problem is how can I give forms authentication and depending on
roles show a link to the corresponding menu. In that menu I must put some
protection because maybe somebody tries to surf to that menu withouth login
in


DId u understand ??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top