Extending the ASP.NET Runtime with Custom HTTP Modules

M

mallik

http://www.samspublishing.com/articles/article.asp?p=25466

the down-side of the proposed solution in the above article is... those Application_AuthenticateRequest, Application_AuthorizeRequest events will be raised during both the Page_Load() and also during Postbacks.

yes, we can make it faster by caching it... but for a application which has some 200 pages and a 1000 pages... the datastructure(hashtable/stringcollection/hybriddictionary whatever) gets really big and it has some over-head searching thru that data structure...

appreciate any ideas to make these events(in the custom httpmodule) fire only during page_load() not during postbacks()...

Thank you,
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top