2013年1月27日
摘要: 第一种是在页面global.asax中,相关代码如下:View Code voidApplication_BeginRequest(objectsender,EventArgse){HttpContextcontext=((HttpApplication)sender).Context;stringoldurl=context.Request.Path.ToLower();if((oldurl.IndexOf("-")>0&&oldurl.IndexOf(".")==-1)||(oldurl.IndexOf("-" 阅读全文
posted @ 2013-01-27 13:04 晓晨 阅读(3671) 评论(1) 推荐(0) 编辑