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

为什么csdn上的帖子转向后不能后退
这是点击进入的地址
http://community.csdn.net/Expert/TopicView1.asp?id=5285211
点击进入后地址是
http://community.csdn.net/Expert/topic/5285/5285211.xml?temp=2.456301E-02
中间估计是一个转向吧
但转向之后确不能后退
怎么做到的呢

------解决方案--------------------
response.redirect "地址 "
------解决方案--------------------
你如果用IE, 这样子可能就不能后退.

this.goto=function(sUrl, nSecond){
if(!sUrl)sUrl= '/ ';
if(!nSecond)nSecond=0;
Response.write( ' <meta http-equiv= "refresh " content= " '+nSecond+
';URL= '+sUrl+ ' "> ');
}

另外 response.redirect 虫子很多呀, 在应用的时候俺都是采用上面的刷新方法...