Anybody having an example that deals with
FormsAuthentication and roles stored in a database?
Thx for you help
I have two folders, "Admin" and "User". In web.config, i set one "location"
tag for each folders and specify the corresponding roles for each tag. Now
the problem is when i use Formsauthentication.RedirectFormLoginPage, I can't
assign role to the user. I implement gobal.asx 's AuthenticateRequest event
that assign the generic priciple to the current thread to slove this issue.
I would like to know is there any better solution?