我测试了一下,没有出现你所说的问题,你是如何向b.aspx传送的?我是这样写的in a.shtml
------------------------
var strref = escape(document.referrer);
document.all.iframe_b.src = "http://localhost/b.aspx?strref="+strref;------------------------
in b.aspx.cs
------------------------
string strref = Page.Request.QueryString["strref"];