[Seaside] Redirect Loop

Philippe Marschall philippe.marschall at gmail.com
Tue Jul 28 16:48:41 UTC 2009


2009/7/28 John Thornborrow <john at pinesoft.co.uk>:
> Hi All,
>
> one of our clients is complaining that intermittently they are receiving
> a "Redirect Loop" error in their browses on one of our apps.
>
> I've done some investigative work (i.e. put "self halt" in
> WADispatcher>>#handleRequest:) and I can see that sometimes Seaside is
> redirecting as many as 18-21 times for a simple GET url
> (/seaside/myapp)? This can't be right, can it?
>
> There are no callbacks/calls/answers at this point, just a simple page
> rendering.
>
> Any pointers on where I should look?

Something like 15 tasks on a page could exhibit such a behavior.
Broken exception handling or a bug in session cookie initialization
are other options that come to my mind. To be sure set a breakpoint in
WAResponse >> #redirectTo: and you should see who is doing all these
redirects.

Cheers
Philippe


More information about the seaside mailing list