JS,Images and CSS getting intercepted by HTTPModule

后端 未结 2 507
天命终不由人
天命终不由人 2021-01-01 02:52

I have a simple HTTPModule which does some custom session state management.

public void Init(HttpApplication context)
        {
            context.AcquireRe         


        
2条回答
  •  滥情空心
    2021-01-01 02:55

    Yes, it will be called for any type of files.

    It's typical in those modules to filter out whatever you are not interested in for ex. by checking whether HttpContext.Request.Url.AbsolutePath contains '/_layouts' under SharePoint.

提交回复
热议问题