public override void OnAuthenticateRequest(HttpApplication application) { // Impersonates user as anonymous, if requested if (application.Request["bcms-view-page-as-anonymous"] == "1") { application.Context.User = null; } base.OnAuthenticateRequest(application); }