我正在开发一个在asp.net 2.0中的应用程序。 在一种形式中,我有一个按钮,并点击它将数据插入到数据库中。 现在插入后,如果我点击弓箭刷新按钮,我收到以下错误。ASP.NET中的浏览器刷新错误
Refresh detected Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Refresh detected
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Refresh detected]
WebTemplate.Template.RefreshProtectModule.appl_AcquireRequestState(Object source, EventArgs e) +351
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
在此先感谢..
感谢您的回复。你能建议一个更好的方式来处理“刷新检测”并抑制请求。 – BABA
对不起,我不熟悉这个模块,它可能是自定义的东西 - 检查你的网站设置,并与必须安装它的人交谈 –