Application_AuthorizeRequest

M

MCM

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top