Hello
I'd like to use the authentication actions, but have some trouble with
the redirect-to :
In my sitemap, i wrote :
<map:match pattern="login">
<map:act type="auth-login">
<map:parameter name="handler" value="MaProtection"/>
<map:parameter name="parameter_nom" value="{request-param:nom}"/>
<map:parameter name="parameter_mot-de-passe"
value="{request-param:mot-de-passe}"/>
<map:redirect-to uri="annu2.xml"/>
</map:act>
<!--L'authentification a �chou� -->
<map:redirect-to uri="login-page"/>
</map:match>
and it works fine. But it's good just for protect the page annu2.xml.
How can i parameter the redirect-to with the name of the called page ?
Thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>