如何获得page对象
我用一个过滤器对所有请求的页进行过滤,如下
HttpApplication application = (HttpApplication)source;
HttpContext context = application.Context;
HttpSessionState session = context.Session;
HttpResponse response = context.Response;
if (session["ss"] != null)
{
response.Redirect("~/Main.aspx");
}
怎样从中得到当前所过滤的页page对象?
因为我要对过滤的页的title进行赋固定的值
对权限过滤等