maintain pageViews in global.asax (asp.net)
        Posted  
        
            by nishant
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by nishant
        
        
        
        Published on 2010-03-25T07:59:51Z
        Indexed on 
            2010/03/25
            8:03 UTC
        
        
        Read the original article
        Hit count: 508
        
I need a function in global.asax file which gets called only once when user enter a page url. application_beginrequest gets called 50-60 times in a single page( as to render a page several requests go to server.)
i though of a solution - I can write my fucntion in global.asax and call it on page load of other pages but in that solution I need to call it in every page. I would prefer something which is to be done only in global.asax
© Stack Overflow or respective owner