locked
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

  • Moving to a more appropriate forum to get better answers!
    Friday, November 30, 2007 6:41 AM

All replies

  • Are you talking about an ASP.net application?
    Wednesday, November 28, 2007 9:17 AM
  • Sorry,I missed vital element.No I am talking about WinForm Application.

     

    any suggestions?

     

    Wednesday, November 28, 2007 4:12 PM
  • Moving to a more appropriate forum to get better answers!
    Friday, November 30, 2007 6:41 AM