Implementation Decision
(Regret any inconvenience about my English)
Greetings from Spain. Just some help to decide how to implement the following.
Just a brief summary about my proyect. We have a company which is composed of several sections. In each section there are different functions - administrator, managers, guests. I have implemented the role-based authenticacion and authorization in the Global.asax file through the GenericPrincipal Class.
There's a general Administrator who can access to all of the data stored by any of the sections, but the sections users are not allowed to see each other info and data.
When the users login I retrieve from the db the user's section. Where is "best practice" to store this info in order to be available all around the app? In the Session object or maybe in the HttpContext.Items object?
Any suggest is welcome. Thanks in advance
Just reading we'll reach our goals.
__________________
Just reading we\'ll reach our goals.
|