Event not triggered
i have used a aspx page with vb code. the page is not firing any event after some time if开发者_StackOverflow the page is kept idle.
any property needs to set in page attribute??
any iis settings i should update
How to solve the issue
Based on just what you posted I would guess your session is timing out. I'm pretty sure that will break viewstate/postback functionality.
Please post your web.config <system.web><sessionState>
configuration section, both for development and production.
Also you implied everything works fine if you postback right away, but if you load a page, wait X minutes, then postback, you get no postback event firing. We need to know what X is and if it is a consistent number of minutes.
Edit: If this is in fact a session timeout issue, the default session timeout is 20 minutes. Does this seem to line up with your problem?
精彩评论