- 博客(2)
- 收藏
- 关注
原创 GetVaryByCustomString不工作的问题
原来在Global里的代码是不会返回任何错误的 所以当我用throw Exception来调试他当然就不理我了... 囧 用Response.Write来调试的话,输出将会是在页尾.... 我之前就是因为在页头看不到输出,所以才转用throw Exception来调试.... 在GetVaryByCustomString里面好像用不了Session,怎么取值都是null~ 不得...
2009-01-17 16:22:54 108
原创 GetVaryByCustomString not work
昨天被這個問題折騰了一下午,到現在還沒解決.... 如MSDN所說,在Global.asax裡重寫以下方法 public override string GetVaryByCustomString(HttpContext context, string arg) { context.Response.Write("override"); throw ne...
2009-01-17 08:43:18 109
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人