[Seaside] session expires, AJAX request made, 403 error.

Lukas Renggli renggli at gmail.com
Thu Jan 28 17:03:12 UTC 2010


See at the bottom of

    http://book.seaside.st/book/web-20/scriptaculous/ajax/wrap-up

for a possible solution.

Another solution might be to repeatedly (every couple of minutes) do
an empty AJAX request, to avoid that the session expires if the window
is still open.

Lukas

On 28 January 2010 17:32, Paul DeBruicker <pdebruic at gmail.com> wrote:
> Hi -
>
>
> When a non-ajax request is made after the session expires, I just redirect
> the user to the home page. When an ajax request is made after the session
> expires, a 403 error is returned to the user but not displayed (I can see it
> in Firebug).
>
> How can I catch the 403 error in that instance and redirect the user to the
> home page?
>
> Thanks
>
> Paul
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list