Problem with Validation of viewstate MAC failed

S

Spondishy

Hi,

I'm running an application that is getting the Validation of viewstate
MAC failed error. This occurs if the application has been left for a
long period of time and a user performs a post-back. This is an
anonymous app (no login required).

I've added the following line to the web.config, but the error still
occurs.

<pages enableEventValidation="false" viewStateEncryptionMode ="Never"
/>

Am I missing something to stop this error occuring. Also if the app
moves to a cluster, do I need to do anything else, I assume I don't
need to implement machine keys as the viewstate is supposedly
unencrypted.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top