[opencms-dev] Documentation about session handling in version 6 alpha 1?

Thomas M�rz thomasmaerz at gmx.de
Thu Sep 30 20:33:03 CEST 2004


Sascha Flohr <s.flohr+lists.opencms at cymes.net> writes:

> I should have been a little more precise, sorry. It's not my problem to
> access the session in JSPs. I want to create my own resource type and
> need the session access for the backoffice code.

You can get the request in your resource type loader.

,----[ org.opencms.loader.I_CmsResourceLoader ]
|  * This interface describes a resource loader for OpenCms, 
|  * a class that can load a resource from the VFS, 
|  * process it's contents and deliver the result to the user.<p>
|  *
|  * The I_CmsResourceLoader operates with Request and Response in 
|  * much the same way as a standard Java web application.<p>
`----

> Perhaps I missunderstood something totally ...

I hope I didn't.


Thomas




More information about the opencms-dev mailing list