Best way to handle expired .NET Forms authentication coookie in an ajax call?

Posted by kpapa on Stack Overflow See other posts from Stack Overflow or by kpapa
Published on 2009-09-02T11:20:11Z Indexed on 2010/06/02 0:33 UTC
Read the original article Hit count: 229

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?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc