简体   繁体   English

Page.IsPostback行为异常

[英]Page.IsPostback Behaving weirdly

Though Form is Submitted the Page.IsPostback value returns false. 尽管已提交表单,但Page.IsPostback值返回false。 This happens intermittently. 这是间歇性发生的。 After studying the results of log we could only come to a conclusion that IsPostback is behaving weirdly however we couldn't figure out the actual cause why is it doing so. 在研究了日志的结果之后,我们只能得出一个结论,即IsPostback行为异常,但是我们无法弄清楚为什么这样做。

What is the possibility of this weird behavior from IsPostback IsPostback出现这种奇怪行为的可能性是什么

  1. Load Balancer Application Environment? 负载均衡器应用环境?
  2. Use of third party Libraries corrupting the value of postback? 使用第三方库破坏了回发的价值?
  3. Any other Reasons which u can think off 您可以考虑的任何其他原因

Log in every event of the request page lifecycle if there is a change on IsPostBack values. 如果IsPostBack值发生更改,请登录请求页面生命周期的每个事件。 Ensure that every postback request is a POST or that there isn't any redirect before checking. 在检查之前,请确保每个回发请求都是POST或没有任何重定向。 Enable Trace if you need. 如果需要,启用跟踪。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM