So how exactly I do that?
I don't know which page will be access first so in which page
"begin_request" event I need to put this in?
Generally what is prefered way to handle application initialization failures
in ASP.NET?
G
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
OnStart happens before any request is in the pipeline.
Personally, I'd stick a value in the web.config and read said value in
BeginRequest. if it's true, I'd simply Response.End there.
Karl
--
http://www.openmymind.net/
"GS" <no@no.com> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl... What would be the sample code to stop processing any further requests in
Application_onStart within global.asax has failed? Response.End does not
work since there is no response object at the point of initializion.