You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Hess <pa...@ish.de> on 2004/01/06 11:43:33 UTC
remove attribute from session without XSP
Hi,
I'm looking for an easy way to delete an attribute from the user's
session after doing some stuff in the sitemap. Is there a way without
using XSP like the <xsp-session:remove-attribute> or
session.removeAttribute()? Maybe a sitemap-action?
Thanks!
--
Patrick Hess
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: remove attribute from session without XSP
Posted by Stephan Coboos <cr...@gmx.net>.
Patrick Hess wrote:
>
> Hi,
>
> I'm looking for an easy way to delete an attribute from the user's
> session after doing some stuff in the sitemap. Is there a way without
> using XSP like the <xsp-session:remove-attribute> or
> session.removeAttribute()? Maybe a sitemap-action?
>
> Thanks!
What do you think about a easy flowscript?
function removeAttribute() {
cocoon.session.removeAttribute("foo");
cocoon.sendPage("target-pipeline");
}
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org