如果是使用“本页提交,本页显示”的话,使用response.redirect( "url ")是可以刷新记录的,如果是使用“本页提交,另页显示”的话,使用response.redirect( "url ")就有可能页面记录不能自动刷新!
解决办法:
1、
response.write ("<script>")
response.write ("alert('xxx')")
response.write ("window.location='xxx.aspx'")
response.write ("<script>")
alert('xxx'); 相当于延迟了一上。
2、response.write (<meta http-equiv='refresh' content='0.1;url=http://www.dreamershop.com'>)
用这个可以做一个处理数据成功的提示页面,1秒以后跳转也可以。