how to do session like thing in windows form application to hold the current user.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subithra
    New Member
    • Sep 2010
    • 2

    how to do session like thing in windows form application to hold the current user.

    how to do session like thing in windows form application to hold the current user in each page where each page can hold that particular user's details who logged in at that time...
  • mzmishra
    Recognized Expert Contributor
    • Aug 2007
    • 390

    #2
    You do not need a Session in a window forms program.

    You can use shared variable/objects.

    Comment

    • PRR
      Recognized Expert Contributor
      • Dec 2007
      • 750

      #3
      Windows Form app are stateful application, therefore maintaince of state is not required. If you want to share information across forms then you can have a static class/ variables/ for the same.

      Comment

      • subithra
        New Member
        • Sep 2010
        • 2

        #4
        Thanks a lot....i have figured it out....

        Comment

        Working...