none
How can I store Details User Details at a global level? RRS feed

  • Question

  • Hi,

    Not sure how to do this.I need to implement some sort of ApplicationContext if you like.

    I want some information like user and their profile to be accessed and available at a Global level.

     

    When I user first logon I retrieve also all permission of what they can and cannot do.What I want to do is

    that this info is available in all layers. EG DAL - BLL- UI and these are different physical assemblies.

    I dont want to pass a class EG "UserContext" if you like is there a better way of storing information globally so that they can be accessed by all layers without passing stuff around?

    An example or link in both c# or vb will be fantastic?

     

    thanks a lot in advance

    Tuesday, November 27, 2007 6:03 AM

Answers

All replies