Hi all,

sorry to repost my question, but I am still wondering should
this work?
I am creating a session in my servlet and want to access it
from my stylesheet. I found this nice tag use-session-info.
Does it work the way I am thinking it does or am I totally
on the wrong way?
The session-available is always false. Is it just a question
of configuration?

Thanks for any help.

Heike

> I tried:
>  <map:pipelines>
>   <map:pipeline>
>  <map:match pattern="testpackage/*/*"> 
>    <map:act type="request">
>      <map:parameter name="parameters" value="true"/>
>      <map:generate
> src="http://localhost:8080/heike/servlet/testpackage.{../2}{re
> questQuery}"/>
>    </map:act>
>    <map:transform type="xslt" src="testpackage/{1}/{2}.xsl">
>    <map:use-session-info>true</map:use-session-info>
>        <map:parameter name="session-id" value="{session-id}"/>
>        <map:parameter name="session-is-new" value="{session-is-new}"/>
>    </map:transform>
>    <map:serialize type="xml"/>
>  </map:match>
> 
>   </map:pipeline>
>  </map:pipelines>
> 
> But I get no session. What's wrong?
> One more question: If I get this running, do I get the same 
> session id as
> used from tomcat (this is essential)?
> 
> Thank you very much for your help.
> 
> Heike

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to