[opencms-dev] Problem with Object of CmsJspLoginBean and the logout function

Jan Meier jan.meier at zmnh.uni-hamburg.de
Thu Dec 1 12:25:08 CET 2005


Hi,

I created the following code:

......
CmsJspLoginBean cms = new CmsJspLoginBean(pageContext, request, response);
......
cms.logout();
.....

The API says:

public void logout()
            throws java.io.IOException

    Logs a user out, i.e. destroys the current users session, after that the 
current page will be redirected it itself one time to ensure the users 
session is truly destroyed.

Is it possible to redirect the user to a special page after the logout?

Thanks in advance
Jan




More information about the opencms-dev mailing list