简体   繁体   中英

Page.IsPostback Behaving weirdly

Though Form is Submitted the Page.IsPostback value returns 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.

What is the possibility of this weird behavior from 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. Ensure that every postback request is a POST or that there isn't any redirect before checking. Enable Trace if you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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