Hi,
 
I have some doucments and  wmv files in files directory that I need to deliver based on some rules. I am trying to use HttpModule for that, but seeing weired behavior.
 
If I try to access the link below, it redirects me to the signin page, as it should. After I login with user account who should have access to this image, I get the image.
 
http://localhost/files/1/01.jpg
 
 
Now while logged In, I try a different URL that I should not have access to, for example
 
http://localhost/files/2/01.jpg
 
My modules should now forward me to sign in page and it does, but this is where problem starts. It takes a very very long time to get the signinpage from IIS. If I go to workerprocess I can see the request listed under application pool there. Its state is "RequestAcquireState". After being in that state for more than a mi ...

Go to the complete details ...