When to unload Session obejects

Discussion in 'ASP .Net Web Controls' started by jorge, May 25, 2004.

  1. jorge

    jorge Guest

    Hi all,

    When should I remove objects that I have put in my session. The consumer of
    the control does not know anything about the control. I HAVE to put this
    guys in the session.

    Also,
    I need to know if a Button.Click event has been fired BEFORE a
    TextBox.TextChanged event gets fired. Which is not the way it works right
    now. (The control is a Composite control)

    / jorge
    jorge, May 25, 2004
    #1
    1. Advertising

  2. First, stop posting this to so many groups.

    Session times out automatically, you do not need to explicitly remove them.
    If you are trying to be efficient with memory, set the session expiration
    lean. The default is 20 minutes.

    --
    Regards,
    Alvin Bruney
    [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    Got tidbits? Get it here... http://tinyurl.com/27cok
    "jorge" <> wrote in message
    news:O$h%...
    > Hi all,
    >
    > When should I remove objects that I have put in my session. The consumer
    > of
    > the control does not know anything about the control. I HAVE to put this
    > guys in the session.
    >
    > Also,
    > I need to know if a Button.Click event has been fired BEFORE a
    > TextBox.TextChanged event gets fired. Which is not the way it works right
    > now. (The control is a Composite control)
    >
    > / jorge
    >
    >
    Alvin Bruney [MVP], May 27, 2004
    #2
    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. jorge

    When to unload Session obejects

    jorge, May 25, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    446
    Alvin Bruney [MVP]
    May 27, 2004
  2. ABC
    Replies:
    2
    Views:
    866
    Spam Catcher
    Dec 20, 2005
  3. =?Utf-8?B?Q2hyaXM=?=

    w3wp.exe Crash, Session Unload, Event ID 1000

    =?Utf-8?B?Q2hyaXM=?=, Dec 21, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    9,347
    =?Utf-8?B?c3RpbmU=?=
    Mar 5, 2006
  4. jorge

    When to unload Session obejects

    jorge, May 25, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    118
    jorge
    May 25, 2004
  5. jorge

    When to unload Session obejects

    jorge, May 25, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    127
    Alvin Bruney [MVP]
    May 27, 2004
Loading...

Share This Page