recycling the ASPNet_WP.EXE + application-state Objects get lost.

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default recycling the ASPNet_WP.EXE + application-state Objects get lost.

    Hello,
    I am using ASP.NET, C# under W2K.
    I try to keep some important information in application- and
    session-state Objects.
    With the recycling of the ASPNet_WP.EXE my application- and
    session-state Objects get lost.

    Therfore I have some questions:
    -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
    -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
    -) How to react on this situation?
    -) What is the regular way to store Application Objects?



    Hope to hear from you soon on this regard

    Regards ,

    Jörg Grinninger
    Grinninger Guest

  2. Similar Questions and Discussions

    1. Dynamic control state changes lost on Postback
      I have been developing a set of custom controls that include several dynamically generated controls inside them (for example, 'SupportTextBox'...
    2. Sessions State Lost in CFMX and WebLogic - HELP
      We are currently using ColdFusion 6.1 with WebLogic 8.1 and are having problems with the session replication and/or server failover. I decided to...
    3. Recycling aspnet_wp.exe a pain in the !@#$%
      I've been spending some time recently writing some ASP.NET authentication code that relies on CAS to minimize the threat posed by luring attacks....
    4. Can't get started ... aspnet_wp.exe - application error
      I'm getting message: aspnet_wp.exe - Application Error The exception unknown software exception (0xc06d007e) occured in the application at...
    5. Unloading web application instance w/o trashing aspnet_wp process
      I have a simple question for the right person, is there a way to unload an application (the resources held by a single virtual directory) from some...
  3. #2

    Default Re: recycling the ASPNet_WP.EXE + application-state Objects get lost.

    Check out your machine.conf's processModel for information on recycling,
    you'll see things like timeout, idleTimeout, memoryLimit and a few other
    thigns which all affect process recycling.

    I don't see how you are losing application objects..if the process recycles
    the application_start event fires and all your application variables get
    reloaded...no?!?!

    As for your session-state stuff, it will get lost during recycles...your
    only alternative is to store sessions out of process, such as in SQL Server
    or Session State Manager...

    Karl


    "Grinninger" <joerg.grinninger@t-systems.com> wrote in message
    news:98571068.0307290457.6c734005@posting.google.c om...
    > Hello,
    > I am using ASP.NET, C# under W2K.
    > I try to keep some important information in application- and
    > session-state Objects.
    > With the recycling of the ASPNet_WP.EXE my application- and
    > session-state Objects get lost.
    >
    > Therfore I have some questions:
    > -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
    > -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
    > -) How to react on this situation?
    > -) What is the regular way to store Application Objects?
    >
    >
    >
    > Hope to hear from you soon on this regard
    >
    > Regards ,
    >
    > Jörg Grinninger

    Karl Seguin Guest

  4. #3

    Default Re: recycling the ASPNet_WP.EXE + application-state Objects get lost.

    Hi Karl,
    I want to save a userinput for all sessions in an application-state
    Object (without saving it to the disk).
    So I can't reload this input automaticalls by application_start.

    If there is no other way, I will have to try the Session State Manager
    (even if this is pain).

    thanks a lot

    Jörg



    "Karl Seguin" <kseguin##crea.ca> wrote in message news:<OPRxI8dVDHA.2052@TK2MSFTNGP10.phx.gbl>...
    > Check out your machine.conf's processModel for information on recycling,
    > you'll see things like timeout, idleTimeout, memoryLimit and a few other
    > thigns which all affect process recycling.
    >
    > I don't see how you are losing application objects..if the process recycles
    > the application_start event fires and all your application variables get
    > reloaded...no?!?!
    >
    > As for your session-state stuff, it will get lost during recycles...your
    > only alternative is to store sessions out of process, such as in SQL Server
    > or Session State Manager...
    >
    > Karl
    >
    >
    > "Grinninger" <joerg.grinninger@t-systems.com> wrote in message
    > news:98571068.0307290457.6c734005@posting.google.c om...
    > > Hello,
    > > I am using ASP.NET, C# under W2K.
    > > I try to keep some important information in application- and
    > > session-state Objects.
    > > With the recycling of the ASPNet_WP.EXE my application- and
    > > session-state Objects get lost.
    > >
    > > Therfore I have some questions:
    > > -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
    > > -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
    > > -) How to react on this situation?
    > > -) What is the regular way to store Application Objects?
    > >
    > >
    > >
    > > Hope to hear from you soon on this regard
    > >
    > > Regards ,
    > >
    > > Jörg Grinninger
    Grinninger Guest

  5. #4

    Default Re: recycling the ASPNet_WP.EXE + application-state Objects get lost.

    Why is it a pain? You start a service and change your webconfig? There's a
    good chance you were using the application object incorectly to begin
    with...it isn't meant to store user-specific information...it's an
    APPLICATION object....sessions are what you want..and if recycling is a
    problem, state management offers a pretty simple solution.

    Karl

    "Grinninger" <joerg.grinninger@t-systems.com> wrote in message
    news:98571068.0307291021.6ba7426a@posting.google.c om...
    > Hi Karl,
    > I want to save a userinput for all sessions in an application-state
    > Object (without saving it to the disk).
    > So I can't reload this input automaticalls by application_start.
    >
    > If there is no other way, I will have to try the Session State Manager
    > (even if this is pain).
    >
    > thanks a lot
    >
    > Jörg
    >
    >
    >
    > "Karl Seguin" <kseguin##crea.ca> wrote in message
    news:<OPRxI8dVDHA.2052@TK2MSFTNGP10.phx.gbl>...
    > > Check out your machine.conf's processModel for information on recycling,
    > > you'll see things like timeout, idleTimeout, memoryLimit and a few other
    > > thigns which all affect process recycling.
    > >
    > > I don't see how you are losing application objects..if the process
    recycles
    > > the application_start event fires and all your application variables get
    > > reloaded...no?!?!
    > >
    > > As for your session-state stuff, it will get lost during recycles...your
    > > only alternative is to store sessions out of process, such as in SQL
    Server
    > > or Session State Manager...
    > >
    > > Karl
    > >
    > >
    > > "Grinninger" <joerg.grinninger@t-systems.com> wrote in message
    > > news:98571068.0307290457.6c734005@posting.google.c om...
    > > > Hello,
    > > > I am using ASP.NET, C# under W2K.
    > > > I try to keep some important information in application- and
    > > > session-state Objects.
    > > > With the recycling of the ASPNet_WP.EXE my application- and
    > > > session-state Objects get lost.
    > > >
    > > > Therfore I have some questions:
    > > > -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
    > > > -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
    > > > -) How to react on this situation?
    > > > -) What is the regular way to store Application Objects?
    > > >
    > > >
    > > >
    > > > Hope to hear from you soon on this regard
    > > >
    > > > Regards ,
    > > >
    > > > Jörg Grinninger

    Karl Seguin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139