[opencms-dev] Logout without invalidating session
i.dastolfo at smart.it
Tue Jan 23 18:37:44 CET 2007
I'm trying to implement a logout without using the
CmsJspLoginBean.logout(), because it invalidates the entire session and I
don't want it.
I read in another post in this forum that this can be accomplished with:
String guestUser = OpenCms.getDefaultUsers().getUserGuest();
Note that I canged the Guest password to "Guest" as because opencms 6.2.2
does not accept an empty password (I checked the source code) and throws an
The problem is that this method works only for the lifecycle of the jsp page
where this snippet is invoked.
When I switch to another page it seems to retain the old login.
Anyone had the same problem?
More generally, had anyone solved the problem of logging out without
invalidating the session?
View this message in context: http://www.nabble.com/Logout-without-invalidating-session-tf3065604.html#a8526425
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev