Hello Guys we have a GPS website which is accesed all around the globe.Customers are complaining that when they keep the website running for longer periods and click the refresh button this ViewState MAC failed error appears on their page.All they had to do again is to relogin to website to keep track of their vessels .
The production webserver is not a WEBFARM or CLUSTER.
Some Important points:
1.We have auto-update set to 15 mins for updating the map on the webpage for vessel positions by connecting to the database and weather data.
2.They can also use refresh button to update the vessel positions and weather data on the map.
so when the customer keeps the website running for longer periods at some moment it stops updating itself(I think it looses database connection) and when customer sees it and click the refresh button the ViewStateMAC validation error occurs.
I have gone through forums and have got some multiple solutions to apply but which is the correct one
1.Extending Application pool recycling periods.
2.Set EnableViewStateMac = false(But I can do this as i will have to compromise on security which is not right)
4.Machine key algorithm.
View Complete Post