我把IIS换回2.0就会出错...

解决方案 »

  1.   

    顶一个
    我的HttpHandle实现namespace HttpSample
    {
        public class SignOutHandler : IHttpHandler
        {
            public SignOutHandler() { }        bool IHttpHandler.IsReusable // 使用上下文缓存
            {
                get { return true; }
            }
            void IHttpHandler.ProcessRequest(HttpContext context)
            {
                FormsAuthentication.SignOut();          //实现注销技术 
                HttpContext.Current.Response.Write("您没有权限访问该页,请与管理员联系!");  //显示成功信息
            }
        }
    }