Session In Framework 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BarathiAkilan
    New Member
    • Feb 2008
    • 1

    #1

    Session In Framework 2.0

    Session(“Curren tUserName”) = UserName -- In Page1

    User = Session(“Curren tUserName”) –- In Page2, and wherever I required.



    This above code is working in my system with visual studio 2005 – vb.net.

    We loaded this application in our server.

    There this “Session” is not working. Its giving the value as “nothing”

    In server, there is no “Microsoft visual studio 2005”,

    Pls help me.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    My guess would be that you have created a session in that page only. If you want to use the session application wide you would need to set it up in the config file. I believe that once sessionstate is declared the global file has useful session events. HTH.

    Comment

    • manovich
      New Member
      • Sep 2007
      • 3

      #3
      Do you have web-garden enabled for your server?

      Comment

      Working...