在Global.asax中实现URL 的重写.
摘要:1 protected void Application_BeginRequest(object sender, EventArgs e) 2 { 3 string url = Request.RawUrl.ToString(); 4 if (url.ToLower().IndexOf("page/bloglist/") > -1 && url.IndexOf("?") < 0) 5 { 6 int lastg = url.LastIndexOf("/"); 7 int lastdot = url.Last
阅读全文
posted @ 2011-03-22 14:34
浙公网安备 33010602011771号