cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Neuenschwander" <>
Subject Re: [C2] repsonse.sendRedirect
Date Fri, 11 May 2001 08:12:00 GMT
Thanks a lot to Donald and Giacomo for their helpful informations.

I started to adapt Ulrich's authentication logicsheet to be compatible with
Cocoon 2, but I felt into this trap.

The lack of this function in C2 reduces the power of the logicsheet concept

I don't understand right now why the SAX pipeline prevents the sendRedirect
function to work correctly.

But I found out that I can't build an authentication application like
Ulrich's auth lib,
without the capability to send redirects within logicsheets.
I like the way of Ulrich authentication taglib, because the authors of xml
pages can
easily include a password protection. But I see that this affects the
sitemap concept
a little bit.

My question is now, will it be possible in near future that this function is
also save
with the SAX pipeline concept, or isn't it possible at all?

- andi

> > Hi,
> >
> > I tried to use the repsonse.sendRedirect function, but it doesn't seem
> > to work in Cocoon2 any longer.
> >
> > Is there an alternative way to send a redirect to the browser?
> >
> > I used this function in C1 without any problems...
> In C1 it was save to use sendredirect. In C2 because of the SAX pipeline
> concept it is not save anymore. Use sitemap capabilities to do redirect
> or write Actions for it.
> Giacomo

> some developers removed this since they felt it violated the seperation of
> concerns. you can send redirects using the sitemap redirect elements, but
> you cannot do it using the response object. if you have a use case that
> you cannot accomodate using sitemap redirects, please, post it to the
> cocoon-dev list - this discussion hasn't been settled yet.
> - donald

To unsubscribe, e-mail:
For additional commands, email:

View raw message