Piroumian Konstantin wrote: >>>Ah! It should be that servlet container simply strips out >>the session Id and >>>provides a clear URL. In this case you should use an action >>to get the >>>session Id from request and use a matcher like: "foo.*". >> >>How is this done? > > > Take a look at other Session* actions in org.apache.cocoon.acting.* package. > You should do something like this in your act() method: > > Map map = new HashMap(1); > map.put("jsessionid", > ObjectModelHelper.getRequest(objectModel).getSession().getId()); > return map;
So, it's not possible only with sitemap things and existing Java code, is it? -- Johannes Koch . IT Developer Pixelpark AG . http://www.pixelpark.com Rotherstraße 8 . 10245 Berlin . Germany phone: +49 30 5058 - 1288 . fax: - 1355 --------------------------------------------------------------------- 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]>