日期:2014-05-17 浏览次数:20928 次
<% response.addheader "refresh","5;url="&Request.ServerVariables("HTTP_REFERER-2") response.addheader "refresh","5;url="&Request.ServerVariables("history.go(-2);") response.addheader "refresh","5;url="&Request.ServerVariables("history.forwand(-2);") response.addheader "refresh","5:url="&"history.go(-2);" %> 问题描述: 我就是想实现提交结果返回页面后,自动跳转到之前的倒数第二页面,求助。
response.Write "<script>history.go(-2);</script>"
------解决方案--------------------
Request.ServerVariables没有HTTP_REFERER-2这种集合
refresh头url为你实际的url地址,不能是javascript语句
------解决方案--------------------
response.write"<script>history.go(-2)</script>"
------解决方案--------------------
eee="update bisai set cansaiwanjia='"&kkk1&"' where id="&CInt(request.form("yincang2"))
------解决方案--------------------