title: Detect Session Timeout in Ajax Request in Spring MVC
body: <p>I can't see seem to find a good example/answer on how to send back some data from an ajax request when a session has timed out.  It sends back the login page HTML and I want to either send json or a status code I can intercept.</p>