You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Upayavira <uv...@upaya.co.uk> on 2003/09/06 08:38:14 UTC

Flow redirectTo doesn't support sessions

In FOM_Cocoon, the code for cocoon.redirectTo() is:

    public void jsFunction_redirectTo(String uri) throws Exception {
        environment.redirect(false, uri);
    }

This means that it is not possible to do a session aware redirect, which 
I need for the authentication flowscript I've written (which works fine, 
just finishing touches now).

I could do with a redirectTo(String uri, boolen session) method. Can I 
add it?

Regards, Upayavira