I am managing different roles pages in different folders in my application rote. Admin folder has all pages of admin. User has all pages of loged in user.
Please advice what way I should adopt to check that user is valid and have correct permissions ?
I was thinking I should user sessioon variables, as a user logs in I keep its Id and user type in session. Can there be some more elegent and less coding required way ?
The page where user signs in is a detail page with almost 25 fields and it has ajax validations, and othe client and server side validations.
I dont know much about membership providers by asp.net and never used these , Kindly if you advice something reffer me some link or keyword to look further.
Thanks