Application_AuthorizeRequest

Discussion in 'ASP .Net' started by MCM, Mar 25, 2010.

  1. MCM

    MCM Guest

    I use the Sub Application_AuthorizeRequest in the application pipeline to do
    some custom page authorization. Basically I check the page requested and
    redirect to the Login page if needed. The problem is, every single request
    gets sent through here, including static files like .css. Is there a way for
    me to configure this to only trigger when a .aspx file is requested?
    MCM, Mar 25, 2010
    #1
    1. Advertising

  2. MCM

    MCM Guest

    Does anyone from MSFT want to respond to this question please?

    "MCM" wrote:

    > I use the Sub Application_AuthorizeRequest in the application pipeline to do
    > some custom page authorization. Basically I check the page requested and
    > redirect to the Login page if needed. The problem is, every single request
    > gets sent through here, including static files like .css. Is there a way for
    > me to configure this to only trigger when a .aspx file is requested?
    MCM, Jun 29, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MCM14

    Application_AuthorizeRequest

    MCM14, Jun 29, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    797
    MCM14
    Jul 20, 2010
Loading...

Share This Page