[opencms-dev] Problem after publishing ...
alex at opencms.org
Wed Jun 18 14:30:02 CEST 2003
The FlexCache is unaware of any session attributes on your JSP. However,
this will affect the JSP only if you have enabled the FlexCache for it,
i.e. set property "cache" on your JSP. The default is not to cache /
property not set. If you have not explicitly set the "cache" property,
the FlexCache is not the cause for your problems.
I would suggest you do not use the
cmsObject.getRequestContext().getSession(true) code unless you have
specifc reason to do so. Insted just use the "normal" JSP session.
Alkacon Software - The OpenCms Experts
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Joachim Arrasz
> Sent: Wednesday, June 18, 2003 2:09 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Problem after publishing ...
> Hello List,
> i`ve built a sitemap jsp, which works fine in offline mode,
> but when i publish this page, it doesn`t work well.I suppose
> that the reason is a scurity mechanism which i built in. It
> works like that: When a user loads the page the first time
> the mainPath from the diretory will be set into the session.
> The code is: cmsObject.getRequestContext().
> getSession(true).putValue("MainNavPath", stringMainNavPath);
> I use the same contruct of code for the security :
> getSession(true).getValue("MainNavPath") != null
> Is it possible that i have to use a session Object over the
> flexcache mechanism? And when, in which way i shoud do this. Bye Achim
> P.S Sorry for my bad english ;-|
> * @author Joachim Arrasz
> * @mail arrasz at synyx.de
> * @url http://www.synyx.de
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev