Information générale
Titre:
EnableViewStateMac and View State
We have 2 web servers that are running on a Network Load balancer. I was getting this error message from one of my asp.net webforms:
The View State Is Invalid for This Page and Might Be Corrupted
This was caused when web1 would server up a page, then when a button on the page was pressed, if the web2 server processed the request, I would get the View State is corrupted error. If web1 processed the request, everything would work correctly. Basically, if the same server always processed your postback, everything work.
After searching the MS KBs, I found that if I set enableViewStateMac="false" in the machine.config of both web servers, this would solve the problem.
My question is, what is the upside or downside of setting enableViewStateMac="false"? Or has anyone come across this on their web farm?
Thanks,
Jerry
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement