I know its poissible to pass authentication info
to a protected match:
<map:match pattern="protected">
<map:act type="auth-protect">
<map:parameter name="handler" value="demohandler"/>
<map:generate src="docs/protected.xml"/>
<map:transform src="stylesheets/simple-page2html.xsl">
<map:parameter name="userID"
value="{session-context:authentication/authentication/ID}"/>
</map:transform>
<map:serialize/>
</map:act>
<!-- something was wrong, redirect to login page -->
<map:redirect-to uri="login"/>
</map:match>
But how do I pass the same session-context in a
normal, unprotected match, this:
<map:match pattern="unprotected">
<map:generate src="docs/unprotected.xml"/>
<map:transform src="stylesheets/simple-page2html.xsl">
<map:parameter name="userID"
value="{session-context:authentication/authentication/ID}"/>
</map:transform>
<map:serialize/>
</map:match>
Does not seem to work?
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]