Best way to handle expired .NET Forms authentication coookie in an ajax call?
- by kpapa
I'm developing a ASP.NET MVC app and I'm wondering which is the best way to handle an expired .NET Forms authentication cookie detected during an ajax call.
Do you think that packing the ajax response into a JsonResult containing info about the cookie validity is the best solution?