Is it possible to add response http headers in web.config?

后端 未结 6 984
挽巷
挽巷 2020-12-29 02:35

In my application I need to set a http response header. I\'d like to do this in web.config.

6条回答
  •  清酒与你
    2020-12-29 03:22

    You can always add an item to the configuration.appSettings section.

    Then your master page, custom base page class, or a specific page can set those http headers by reading from the web.config

提交回复
热议问题