Esteban,
See JQueryInstance>>onAjaxError:, it’ll fire when 403 is returned and you can then redirect to the home page with some expiry indicator.
HTH,
-Boris
From: [hidden email] [mailto:[hidden email]]
On Behalf Of Esteban A. Maringolo
Sent: January 20, 2014 12:47 PM
To: Seaside - general discussion
Subject: [Seaside] AJAX Calls on expired Sessions
How do you handle the AJAX calls on an expired Seaside Session?
Now when the session has expired the ajax call doesn't work (I get an HTTP 403).
I would like to redirect the whole page to the login page when this happens. Is there a way to install a global handler or similar? (maybe at the jQuery level?)
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside