Ask a Question related to ASP.NET General, Design and Development.
-
noname #1
Re: Application_End
my understanding is that an application can be viewed as somewhat like a web
server. it basically starts up when a page is requested, but thereafter
almost never goes down, i.e.: the _end event almost never fires. the web
server only ends when either soft restarted, or hard reset (where, of
course, _end wouldn't fire because power's cut). have you tried restarting
IIS to see if that fires your _end event?
but, i might be completely off here.
"Jim Owen" <jkoseattle@comcast.net> wrote in message
news:uEf35w7SDHA.2852@tk2msftngp13.phx.gbl...I> My Global.asax Application_end event calls a method which updates the
> database from the cache, posting any new or changed records, etc. It works
> fine. I added a button to a page to run it and all is well. However, even
> though I have it in Application_End, it never seems to run on its own. I'm
> running privately on my local dev machine, and will create a new record,
> then walk away, or even go to bed, and the next day I wake up and it never
> got called. Someone told me it will work fine when I deploy, but no way am> deploying if it's not working on my machine. Why might it not be working,
> and what's a good approach to this?
>
> --
> - Jim Owen
> 206-501-6936
>
>
noname Guest
-
HttpApplication Init, Application_Start and Application_End don't fire
I have an odd problem... We have a small development team (three coders) working on the same project (a C# web application). Each coder has a... -
Global.asax Application_End questions
My .Net book states that the Application_End event handler in Global.asax gets called typically about 20 minutes after the last HTTP request. My...



Reply With Quote

