cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans-Peter Maurer" <hpm-inters...@t-online.de>
Subject Re: bug in authentication framework or input module: session-context????
Date Wed, 18 Jan 2006 09:33:22 GMT
hi christoph,

i used the session-context within the parameter-tag of a transformer.
this transformer is situated after the session-transformer, which
transformed
the setxml-statements of a transformer which is situated before the
session-transformer!
So if cocoon worked down the components of a match-area, the session-context
have to
fetch the right values, because it is siutated after the
session-transformer. But i got the
old values?
strange!!?? or did i ignore something?

Peter
----- Original Message -----
From: "Christoph Hermann" <christoph.hermann@guschtel.de>
To: <users@cocoon.apache.org>
Sent: Wednesday, January 18, 2006 9:44 AM
Subject: Re: bug in authentication framework or input module:
session-context????


> Hans-Peter Maurer schrieb:
>
> Hello,
>
> > discription: (everything is inside of an protected-pipeline of the
> > authentication-framework)
> > 1. i set session fields via setxml-statement (session transformer)
> >
> > 2. i checked it by using getxml-statement, result: previous setxml ok!
> >
> > 3. after setting session fields i used the session-context input module
to
> > get the new values of the session-fields by parameter statement
> > result: i got the old values not the updated values set by
setxml-statement
> > in the step before
> >
> > does the authentication framework the "commit" of the
> > "session-setxml-update"
> > after finishing the protected-pipeline or is this a bug of the
> > authentication framework or
> > session-context-input-module?
>
> I presume your using the session-context-input-module in your sitemap in
> a matcher?
> The matchers are evaluated before the rest of the sitemap is processed
> if i remember that correctly. So first your sitemap is processed (your
> input-module) then your setxml is executed.
> Of course you get the "old" Value then in the sitemap.
>
> HTH
> Christoph
>
> PS: If this is completely wrong, please correct me.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message