Hi all,
In my site, there is timeout session 30 minutes.
After 30 minutes as I press on logout.
Exception(Validation of Mac fialed.If thos applicationis hosted by a web farm or cluster,ensure that <machinekey>configuration specifies the same key and validation algorithm.Autogenerate cannot be used in cluster.) occurs in my page very badly.
I have handled that code in try-catch block but still it is not working.
try
{
Session.Abandon();
Session.RemoveAll();
Response.Redirect("~/Default.aspx", false);
}
catch(Exception ex)
{
}
If anything wrong ,please suggest me the way.