Esempio n. 1
0
 /////////////////////////////////////////////////////////////////////////////
 static void WriteErrorMessage(HttpContext context)
 {
     context.Response.Write(UrlAuthFailedErrorFormatter.GetErrorText());
     // In Integrated pipeline, ask for handler headers to be generated.  This would be unnecessary
     // if we just threw an access denied exception, and used the standard error mechanism
     context.Response.GenerateResponseHeadersForHandler();
 }
 private static void WriteErrorMessage(HttpContext context)
 {
     context.Response.Write(UrlAuthFailedErrorFormatter.GetErrorText());
     context.Response.GenerateResponseHeadersForHandler();
 }
Esempio n. 3
0
 /////////////////////////////////////////////////////////////////////////////
 void WriteErrorMessage(HttpContext context)
 {
     context.Response.Write(UrlAuthFailedErrorFormatter.GetErrorText());
 }