Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > session variables are not working properly

Thread Tools

session variables are not working properly

Posts: n/a

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

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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
session variable not working properly Gurunadh ASP .Net 2 11-28-2006 06:35 AM
Session variables in Application_error not working tshad ASP .Net 9 07-17-2006 05:55 AM
Re: session variables not working Rick Strahl [MVP] ASP .Net 0 05-28-2004 09:10 PM
Re: Session Control not working properly. Need Help MSFT ASP .Net 11 12-03-2003 11:33 AM
More American Graffiti: Properly Framed, Properly Scored? Scot Gardner DVD Video 0 09-02-2003 02:28 AM