Validation of viewstate MAC failed in Safari
Posted
by Midhat
on Stack Overflow
See other posts from Stack Overflow
or by Midhat
Published on 2009-05-28T14:07:48Z
Indexed on
2010/05/29
18:32 UTC
Read the original article
Hit count: 183
Hi
I have a web app using forms authentication. When I perform the following steps
- Let the login cookie expire
- Click on a link that requires a logged in user
- The user is redirected to the login page
- Click the browser back button
- The user is redirected to the login page again
- Log in using a valid username/password
I get this exception Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
This case appears only in safari (windows and mac). The fundamental difference between safari and other browsers is that when we click the back button in step 4, safari shows the login page again, while the other browsers show the previous page the user was working on.
Please help in this regard
© Stack Overflow or respective owner