Jeffrey&Lynny

一个温馨小家庭的.Net生活

导航

2004年10月25日 #

How to workaround the IE default behavior of re-posting the entire form when pressing "刷新"(or F5)

摘要: 问题描述:IE会在发送过一个Http Post请求到服务器端之后(比如点击一个Asp.net的Button按钮),如果点击"刷新"按钮,IE将会弹出"retry"的对话框,对于点击"retry",IE会将前面第一次的HTTP请求再发送到服务器端。造成了Button.Click连续两次执行。=======================================================... 阅读全文

posted @ 2004-10-25 11:23 比尔盖房 阅读(692) 评论(0) 推荐(0) 编辑