i am creating a page where i need to give user access to some pages on the basic of his role.
this page can be common for all user or may be there will be different pages on the basic of his role.
Please help me on this & tell me how can i do this.
Praveen Kumar Singh
One approach which immediately came to my mind:
You can have "Roles" associated with each user. You could store the User details in a Session and based on the User's role- You can give access to the page the user is eligible to view.
That way In the same page you could give access to different controls based on the User's role- Like the Moderation of Forum posts.
Am not aware of other ways, other members will be able to add more to this.