I’m looking for a recipe to handle session logged out or expired in an
ajax calls. For instance, lets say we have a form submission in ajax
that the user needs to be authenticated to perform this action. I’d
like to at least notice the user that he is not logged in anymore or
even better prompt an authentication form.