P
Peter Morris
Hi all
First I want to say that I don't want to implement the membership providers.
I'm writing some specific documentation, and those come into it later
I am using Forms authentication in a website. I want access to different
areas based on roles. When the user logs in I determine their roles as a
string[]. The problem is that to set those roles for Forms authentication I
need to create the new System.Security.Principal.GenericPrincipal in
Application_AuthenticateRequest.
The problem with this is that the Session[] is null. In the past I have
stored the role information in Application[], but if I want to move my
session state into a DB so that my site can be farmed my Application[] will
not get carried across will it?
So, what should I do?
Thanks
Pete
First I want to say that I don't want to implement the membership providers.
I'm writing some specific documentation, and those come into it later
I am using Forms authentication in a website. I want access to different
areas based on roles. When the user logs in I determine their roles as a
string[]. The problem is that to set those roles for Forms authentication I
need to create the new System.Security.Principal.GenericPrincipal in
Application_AuthenticateRequest.
The problem with this is that the Session[] is null. In the past I have
stored the role information in Application[], but if I want to move my
session state into a DB so that my site can be farmed my Application[] will
not get carried across will it?
So, what should I do?
Thanks
Pete