By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,022 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,022 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <jo**************@t-systems.com> wrote in message
news:98**************************@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

Nov 17 '05 #2

P: n/a
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:<OP**************@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" <jo**************@t-systems.com> wrote in message
news:98**************************@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

Nov 17 '05 #3

P: n/a
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" <jo**************@t-systems.com> wrote in message
news:98**************************@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:<OP**************@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" <jo**************@t-systems.com> wrote in message
news:98**************************@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

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.