Validation of viewstate MAC failed
-
Hi All, I have a web page that shows all contacts and its running fine. When user doen not activity for some time and after that user clicks the button to download records, its shows message: Validation of viewstate MAC failed I not getting where this problem arise and what to do to solve. One imp thing, after being inactive for some time when I logout and then log in then its works fine. I assume it can be session timeout problem, but dont know how to deal with it. Any Suggestions is appreciated Thanks
Bajrang Singh Using .net 2.0 (VS2005)
-
Hi All, I have a web page that shows all contacts and its running fine. When user doen not activity for some time and after that user clicks the button to download records, its shows message: Validation of viewstate MAC failed I not getting where this problem arise and what to do to solve. One imp thing, after being inactive for some time when I logout and then log in then its works fine. I assume it can be session timeout problem, but dont know how to deal with it. Any Suggestions is appreciated Thanks
Bajrang Singh Using .net 2.0 (VS2005)
-
Thanks Jinal for reply, Is there any method to put this exception in try catch and redirect to login page?
Bajrang Singh Using .net 2.0 (VS2005)
-
Thanks Jinal for reply, Is there any method to put this exception in try catch and redirect to login page?
Bajrang Singh Using .net 2.0 (VS2005)
-
Thanks Jinal for reply, Is there any method to put this exception in try catch and redirect to login page?
Bajrang Singh Using .net 2.0 (VS2005)
I dont think so. but u can try catch this error in Application_Error method in global.asax file