[Seaside] 3.0 session/request redirect
rh at 4096.sk
Mon Feb 22 19:42:17 UTC 2010
On Mon, 22 Feb 2010, Julian Fitzell wrote:
> Actually, it was an often-requested feature. :) We used to have to do
> a redirect, now we don't.
> I intended to add a config option that would cause WAApplication
> (actually WARegistry, probably) to do an initial redirect with the
> session key, but haven't got around to it.
> You probably also don't need the code after the redirect to keep
> running, do you? Unfortunately, #call:/#answer: is implemented by the
> RenderLoop and #start is what invokes the render loop, so you can't do
> a call there. But of you don't need #call: behaviour, you can just do
> a redirect. Try:
> self requestContext redirectTo: self url
Yes this works nicely, thank you.
More information about the seaside