日期:2014-05-17  浏览次数:20431 次

怪事 怪事
http://localhost:668/Member/Login.aspx?url=http://localhost:668/StaticShop/shop_2/admin/CN/MySupplyList/search_MySupplyList.html?entid=223&entCategoryId=7365


为什么?
Request.QueryString["url"]取出来的值是http://localhost:668/StaticShop/shop_2/admin/CN/MySupplyList/search_MySupplyList.html?entid=223

&和后面的参数都没了,是什么回事??

------解决方案--------------------
啊呀!url是一个参数,取出来的就是url=后面的内容,“&”以后就是另外一个参数啦,要用Request.QueryString["entCategoryId"]来取的

忽略了吧
------解决方案--------------------
你需要对url编码:
Server.UrlEncode("你的url");

然后取出时解码。这样Request.QueryString["url"]取的值才对。