just give it a try.. no harm.... (there are ample ways i can think of where
if its not getting called... put the code in Application_State()
startup... shutdown events
"Anders Both" <andersboth@hotmail.com> wrote in message
news:ObuUAYX2DHA.3216@TK2MSFTNGP11.phx.gbl...
> Thx, wery usefull.
>
> But can I register what casued that the process was shut down. My problem
is
> that my process just shut´s down, and i don´t know why.
> e.g in global.asax.cs Application_End() ?
>
> My processModel setting are below. (they are still the default settings
for
> W2K3)
>
> BR Anders Both
> <processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
> shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
> restartQueueLimit="10" memoryLimit="60" webGarden="false"
> cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
> logLevel="Errors" clientConnectedCheck="0:00:05"
> comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
> responseDeadlockInterval="00:03:00" maxWorkerThreads="20"
> maxIoThreads="20"/>
>
> "Hermit Dave" <hermitd.REMOVE@CAPS.AND.DOTS.hotmail.com> wrote in message
> news:Oka$1pJ2DHA.2180@TK2MSFTNGP12.phx.gbl...
> > the way asp.net worker process is handled and shutdown or restarted is
> > governed by machine.config file....
> >
> > have a look into the different params for this purpose
> >
> >
http://www.aspalliance.com/articleViewer.aspx?aId=226&pId=-1 > >
> >
http://www.codeproject.com/aspnet/aspwp.asp > >
> >
> >
> > --
> > Regards,
> >
> > HD
> >
> > "Anders Both" <andersboth@hotmail.com> wrote in message
> > news:ODnZdVJ2DHA.2428@tk2msftngp13.phx.gbl...
> > > If no pages in my asp.net web-system, is being requested for some
> periode,
> > > it seems like the asp.net process is shut down automaticaly. Is this a
> > > normal behavior, or does my system contains some kind of bug or wrong
> > > configuration ?
> > >
> > > I don´t want my asp.net process to ever shut down, because I want to
> keep
> > > data, object etc, in ram.
> > >
> > > I hope someone can give me good advices.
> > >
> > > Best regards, Anders Both, Denmark.
> > >
> > >
> > >
> >
> >
>
>