can't set a session variable from a user control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jc

    can't set a session variable from a user control

    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.redirec t to a another page and can tell it's never set as
    well.

    What's up with that?

    Thanks for any help or information!
  • Michael Nemtsev [MVP]

    #2
    Re: can't set a session variable from a user control

    Hello JC,

    How do u set sessions? Any sample?
    Can u set session from other places?
    Are u sure that u have "EnableSessionS tate=true" on the <%Page...settin gs?

    ---
    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


    JI've got a master page.
    J>
    Junder a content page is a user control.
    J>
    JI attempt to set a set session variable under a grid row command
    Jevent, but it does not take..
    J>
    JI do a watch on the session variable and it never sets. I
    Jreponse.redire ct to a another page and can tell it's never set as
    Jwell.
    J>
    JWhat's up with that?
    J>
    JThanks for any help or information!
    J>


    Comment

    Working...