Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 12, 2012 10:34 AM|LINK
this something i have to do? or
I can simply ommit totaly this configuration, or let machineKey to autogenerate.
No you don't have to because if you don't specify a machine key. ASP.NET will generate one for you. But it will generate a new machine key each time the application pool recycles, and when that happens, it will cause users (when using formsauthentication) that
are authenticated to be redirected to the login page on their first request after the application pool recycles, and this could also result in the infamous "Validation of ViewsState MAC ...." error, so I think it is good practice to always add a machine key,
instead of ASP.NET generating one for you....