locked
httpmodule to intercept request to another virtual directory RRS feed

  • Question

  • User1595049148 posted

     i have a virtual directory under my application which points to shared location on another computer. this virtual directory holds some pdf documents. when there is a request for a pdf document, i would like to check that user is valid user before allowing user to download the document. i have a httpmodule which fires for each request and checks requested document. it is working as expected if the document is inside the main application root but httpmodule is not firing if it's a document in virtual directory which is understandable. what steps do i need to take to fire httpmodule for pdf document request in virtual directory?

     

    Monday, September 3, 2007 9:33 PM

Answers

  • User1595049148 posted

     i managed to solve the problem. virtual directory shouldn't be set as an application. i think i did that earlier too........ LOL.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 4, 2007 12:55 AM