Ask a Question related to ASP.NET General, Design and Development.
-
Mark Friedman #1
Getting some code to run before any HTTP requests
Does anyone know if there is a way to get some code in an ASP.NET
application to run even before any HTTP requests come in for that
application? I have some timer based code that I would like to run on
application start/load. I initially stuck it in my Application_Start event
but that doesn't get fired until some HTTP request comes in to the server.
Essentially, I want my code to start running when IIS (or perhaps more
accurately, apsnet_sp.exe) is started or restarted.
Thanks in advance.
-Mark
Mark Friedman Guest
-
Can't send HTTP POST requests
Hi, Flex3 Pro vs. J2EE All HTTP requests with method=POST are received by server as GET requests. At first I thought the problem was with the... -
HTTP Error Code 502 Bad Gateway
I use IIS 5.1 ,mysql-4.0.20d, PHP 5.0.4, winXP SP2, Dreamweaver MX2004, Can't connection mysql and show error "HTTP Error Code 502 Bad Gateway, how... -
Can we view a single Asp.net page as one 'critical section' for identical http requests?
How does ASP.NET process requests labeled with same sessionID/AuthID? Is it in defined order, such as FIFO or undefined order? For example: An... -
Help! Web Companion Goes Deaf to http Requests
Interesting, in that I just found this newsgroup today becuase of this exact same problem in Unlimited 6 with web Companion.... periodically it just... -
Module of sending http 1.1 and/or 1.0 requests
Anybody knows what perl module I can use to specify the http request as http 1.1 or 1.0? It seems I can't do that with http::request. Thank you. ... -
Kevin Spencer #2
Re: Getting some code to run before any HTTP requests
Can't be done. The web application doesn't start until the first request
comes in.
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of Little things.
"Mark Friedman" <bingster@yahoo.com> wrote in message
news:eOMvbFAPDHA.3408@tk2msftngp13.phx.gbl...event> Does anyone know if there is a way to get some code in an ASP.NET
> application to run even before any HTTP requests come in for that
> application? I have some timer based code that I would like to run on
> application start/load. I initially stuck it in my Application_Start> but that doesn't get fired until some HTTP request comes in to the server.
> Essentially, I want my code to start running when IIS (or perhaps more
> accurately, apsnet_sp.exe) is started or restarted.
>
> Thanks in advance.
>
> -Mark
>
>
Kevin Spencer Guest



Reply With Quote

