session variables are not working properly

G

Gurunadh

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top