0

How do I detect an expired session with xajax so I can redirect users to the login page when that happens or pop a message to let them know?

Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
  • Looks like there might be some help [here](http://ellislab.com/forums/viewthread/65486/). It's a forum post, so it's a bit of a mess, but you might find some useful information there. – Robert Harvey May 28 '14 at 23:09

1 Answers1

0

Look here for session timeout

If session timed out send this:

   $response = new xajaxResponse();
   $response->script('location.href="/login";'); // or what ever you want
   return $response;
Community
  • 1
  • 1
nevtag
  • 314
  • 1
  • 6