AW: AW: [opencms-dev] Missing element that calls acustomizedEventListener

Stephan Hartmann beffe at beffe.de
Tue Mar 29 12:53:54 CEST 2005


>>
>> My mistake. I wanted to say: The session based stuff works only when
>> cookies are enabled, so the entire page would only work when cookies are
>> enabled, and that is a presumption that is not acceptable for my client.
Of
>> course I need some way to store information for forms, user-dependencies
>> and stuff, and that is accepted. But he does not want to have cookies
>> enabled just for showing static content in two different language
versions.
>
>You don't need cookies for session handling. But you have to provide the
>sessionid in the URL than, for each generated url on your site.
>And that may be is a problem at the current state of OpenCms, because it
may
>be difficult to get the sessionid from the request into the generated urls,
>if it is not done automatically by opencms if cookies are disabled.

look at org.opencms.jsp.CmsJspTagLink#linkTagAction(): You just have to
encode the result of the method with
javax.servlet.http.HttpServletResponse#encodeURL() to get a sessionid in the
URL if needed.

Regards,
Stephan






More information about the opencms-dev mailing list