ASP.net Usercontrol caching viewstate across users?

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2010-05-25T22:52:31Z Indexed on 2010/05/25 23:01 UTC
Read the original article Hit count: 238

Filed under:

I have a usercontrol with asp:textbox controls on it that also performs postbacks. If two users, who are both identified by a different session variable, postback the page within the same second, one user will see the other user's viewstate values in the text boxes. I have validated that this happens by setting a textbox, a session variable, and a cookie to the same value (the same value that identifies the user) and writing to the log when all three don't match. The text box's value is the one that is logged as the other user's value.

ASP.net 3.5, IIS 6

Has anyone experienced this issue.

© Stack Overflow or respective owner

Related posts about ASP.NET