[Seaside] Expired page with Ajax

Lukas Renggli renggli at gmail.com
Thu Jul 9 19:28:44 UTC 2009

> What is the best approach to make a redirect (full refresh) to a new page
> if the seaside session expires.

I would set a global #onFailure: handler using SUResponders
(documented at http://www.prototypejs.org/api/ajax/responders) that
displays an error message and/or redirects to the entry point.

In Seaside 2.9 the same can be done using the PTResponders class of
Prototype, or the JQAjaxSetup class of JQuery.


Lukas Renggli

More information about the seaside mailing list