PC Review


Reply
Thread Tools Rate Thread

can't set a session variable from a user control

 
 
jc
Guest
Posts: n/a
 
      27th Feb 2008
I've got a master page.

under a content page is a user control.

I attempt to set a set session variable under a grid row command
event, but it does not take..

I do a watch on the session variable and it never sets. I
reponse.redirect to a another page and can tell it's never set as
well.

What's up with that?

Thanks for any help or information!
 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      27th Feb 2008
Hello JC,

How do u set sessions? Any sample?
Can u set session from other places?
Are u sure that u have "EnableSessionState=true" on the <%Page...> settings?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


J> I've got a master page.
J>
J> under a content page is a user control.
J>
J> I attempt to set a set session variable under a grid row command
J> event, but it does not take..
J>
J> I do a watch on the session variable and it never sets. I
J> reponse.redirect to a another page and can tell it's never set as
J> well.
J>
J> What's up with that?
J>
J> Thanks for any help or information!
J>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Storing a Per User Per Session Variable DawnTreader Microsoft Access VBA Modules 2 6th May 2010 01:07 AM
Storing a user created object as a session variable RSH Microsoft ASP .NET 3 14th May 2007 05:29 PM
How do I create a session variable in Access to hold user name? =?Utf-8?B?U3RhbiBCaWJicw==?= Microsoft Access VBA Modules 1 16th Aug 2006 05:46 PM
Reading a Session Variable from a Dynamically created control RSH Microsoft ASP .NET 3 26th Jul 2006 08:50 PM
Partial Caching in User Control based on Session Variable? Manish Jain Microsoft C# .NET 0 23rd Oct 2003 08:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:55 AM.