js与asp.net的对话

客户端和服务器端对URL的加/解密
在JS中的escape 和unescape
对应ASP.NET中的System.Web.HttpUtility.UrlEncodeUnicode()和System.Web.HttpUtility.UrlDecode()

JS中的跳转和ASP.NET中的跳转
Response.Write("<script>window.location.href   =   window.location.href</script>");
this.Response.Redirect(this.Request.Url.ToString());  

posted @ 2007-05-09 17:28  涂文瀚  阅读(233)  评论(0编辑  收藏  举报
foot