Just use:
protected void Application_PreSendRequestHeaders(Object source, EventArgs e) { }
Or create an instance of the handler:
protected void Application_Start() { PreSendRequestHeaders += new EventHandler(OnPreSendRequestHeaders); } protected void OnPreSendRequestHeaders(object sender, EventArgs e) {
source share