Hi List, hi Jens,

thanks, thats exactly what I needed.
BTW: Where do I find all a list of all these {xyz}-variables that are
automatically built in? I suppose there are many powerful little tools
at my fingertips using stuff like that.
Is it possible to access session-attributes in this way?

Please point my to the appropriate doc if this is obviously RTFM.

Thank you,
Michael

Hi,



But I'd like to have the sitemap remember which URL the user requested.
After having logged in he/she should be redirected to exact that page
that was
requested, not -- as in the example -- to a static page.



iirc the auth-action adds a request parameter to the login-url: e.g.: login?resource=rederictedFromHere

you can do something like this then:

<map:match pattern="login">
<map:act type="auth-login">
<map:parameter name="handler" value="insurance"/>
<map:parameter name="parameter_userid" value="{request-param:name}"/>
<map:parameter name="parameter_password" value="{request-param:password}"/>
--> <map:redirect-to uri="{request-param:resource}"/>  <-- redirects
to the resource specified in the reqest param 'resource'

</map:act>
<map:generate src="content/login.xml"/>
<map:transform src="context:/resources/styles/svm-admin-style.xsl"/>
<map:serialize type="html"/>
</map:match>

hth





--
abs IT Service GmbH
Ein Unternehmen der abs Gruppe
Michael Wirz
Entwicklung

Landsberger Stra�e 57
82266 Stegen am Ammersee

Telefon: +49-(0)8143-999-43
Telefax: +49-(0)8143-999-49

[EMAIL PROTECTED]
www.eFonds24.de


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to