Ask a Question related to ASP.NET General, Design and Development.
-
Grinninger #1
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
-
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'... -
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... -
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.... -
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... -
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... -
Karl Seguin #2
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
-
Grinninger #3
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 GrinningerGrinninger Guest
-
Karl Seguin #4
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...news:<OPRxI8dVDHA.2052@TK2MSFTNGP10.phx.gbl>...> 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 messagerecycles> > 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 processServer> > 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> > 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



Reply With Quote

