I have 3 .aspx files. For example
GrandFather.aspx, Father.aspx and Child.aspx
GrandFather.aspx page has an Iframe and the iframe's source is Father.aspx. Form Father.aspx, I called Child.aspx by using
Resposne.Redirect("Child.aspx");
As a result the iframe content has been changed with Child.aspx. Now the Child.aspx has some form-data which are submitted in its postback. Browser IE, FireFox, Google Chrome it has been working properly but in Safari, it shows the following error,
System.Web.HttpException: A field validation of viewstate MAC. If a Web Farm
or cluster is hosted by this application, please check that you have to specify
the configuration is the same validationKey and validation algorithm <machineKey>.
AutoGenerate can not be used in the cluster.
What can be the reason behind this problem? How can I solve it?
I have checked the source of the Iframe and it shows always Father.aspx even after Response.Redirect.
I am using .NET 2.0 and IIS is 6.0.
EDIT:
For first time postback the Safari browser shows the error. However, for the next try, the error goes away.