session variables are not working properly

Discussion in 'ASP .Net Web Controls' started by Gurunadh, Nov 27, 2006.

  1. Gurunadh

    Gurunadh Guest

    Hi

    i've some web user controls in one folder and web pages in some other
    folder.

    and i've included header web user control in all my web pages.
    and in that user control wrote code to get the logged in user details to be
    displayed in header.

    In login user control, the logged in userid was stored in a session.

    in one of web pages i'm retrieving the values based on the value stored in
    session i set in login control.

    and when i put cooment to the code in header control then the value is
    maintained in session, if i remove comments then it is not storing any data
    in session.

    whats the problem with my code?

    Thanks And Regards
    Yoshitha.
     
    Gurunadh, Nov 27, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron Powell
    Replies:
    0
    Views:
    1,211
    Aaron Powell
    Jul 24, 2003
  2. Jasper
    Replies:
    0
    Views:
    500
    Jasper
    Jun 28, 2004
  3. MSFT
    Replies:
    11
    Views:
    598
    Grimsa
    Dec 3, 2003
  4. Jeff
    Replies:
    1
    Views:
    10,399
    MrCeri
    Dec 7, 2007
  5. Gurunadh

    session variable not working properly

    Gurunadh, Nov 27, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    505
    Gurunadh
    Nov 28, 2006
Loading...

Share This Page