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