[opencms-dev] Using Guest CmsUser

Pere Torrodellas ptorrodellas at fihoca.com
Tue Oct 10 12:05:56 CEST 2006


Hello,

I am evaluating the possibility of using the CmsUser object that OpenCms
creates for every "Guest" user to keep information entered by the user
(name, e-mail, etc) for the duration of the session, instead of using
Session attributes (which I've always heard is better to avoid if possible).

I tested it, and it works: successive requests are able to recover the guest
CmsUser data stored previously.

Can someone tell me if this can lead to unexpected troubles, or is
discouraged for some reason?

Thanks,

Pere




More information about the opencms-dev mailing list