Flip,
Thanx for the solution.
Now I will explain my work condition:
1. We have our website developed using ASP.Net.
2. When IIS is reset OR ASP.Net process is recycled...then for the
first (.aspx)request all .Net files gets compiled.
3. But virtual directory's bin folder contains lot of dlls..time
required to compile the .net dlls (MSIL -> Native code) is very high.
4. During this time, if any client requests .aspx page...then he has
to wait a lot.
5. So during this time if any .aspx request comes...I don't want it to
be get processd by ASPNET_isapi.dll. IIS should not forward this
request to ASPNET_isapi.dll, so user don'r have to wait a lot for
getting response.
6. Once all dlls are compiled in memory...IIS will start forwarding
requests to ASPNET_isapi.dll.
So I want to know is this possible...for the first request when dlls
are getting compiled...IIS will not forward request...and for next
requests it will start forwarding .aspx requests to ASPNET_isapi.dll.
Thanx & Regards
Atul
(E-Mail Removed) (Atul) wrote in message news:<(E-Mail Removed)>...
> Hi,
>
> We are using a web application developed using ASP.net, When user
> requests any .aspx page, first IIS receives that request & forwards
> that request to aspnet_wp. On a certain condition, I want to prevent
> this request(request of .aspx) being forwarded to aspnet_wp.
> Is it possible?
>
> Note: On a certain condition...if that condition is true, if user
> requests .aspx page, then that .aspx request should get passed to
> aspnet_wp.
> but if that condition is set to false, .aspx request should not get
> passed to aspnet_wp. Condition can be altered at runtime.
>
> Condition can be like this: on hard-disk, at a particular folder
> location if *.htm file exists, then condition is set to true, else
> false.
>
> Pls let me know if it is possible.
>
> Thanx and regards
> Atul