You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Gapinski, Gary (GEL, MSX)" <Ga...@lighting.ge.com> on 2001/11/09 20:40:21 UTC

[C2] Session creation without map:redirect-to?

Is there any way within a sub-sitemap or pipeline,
*regardless* of the request URI (in other words,
for any request received by the sub-sitemap or pipeline),
to

1) ensure a session exists and is valid,
2) create a session if one does not exist or is not valid,
3) set session attribute defaults for newly created sessions
4) proceed with matching steps

*without* using a <map:redirect-to session="true" .../> directive?

I have been unable to determine how to do this short of a custom action
class
(similar to SessionIsValidAction) which creates a session if one does
not exist or is invalid.

Regards,

Gary


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>