一个URL重写的例子
摘要:打开 Global.asax.cs 在最上面添加一行 using System.Text.RegularExpressions;然后在 Application_BeginRequest 事件中写入stringstrRawUrl=HttpContext.Current.Request.RawUrl;stringstrNewUrl;if(Regex.IsMatch(strRawUrl,@"defaul...
阅读全文
posted @ 2005-10-20 16:11
浙公网安备 33010602011771号