比如在类中要使用Cache,用HttpContext.Current.Cache
Response,Request等一样.
如果要使用Page则:
Page p=(Page)HttpContext.Current.Handler;