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

Siegfried Puchbauer siegfried.puchbauer at gmail.com
Thu Dec 1 16:53:14 CET 2005


Yes its possible. You can do:

session.invalidate();
response.sendRedirect(cms.link("/your/logout/page.html"));

hth

2005/12/1, Jan Meier <jan.meier at zmnh.uni-hamburg.de>:
>
> 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
>
>
>
> _______________________________________________
> 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
>



--
Mit freundlichen Grüßen

Siegfried Puchbauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051201/4b2700c6/attachment.html>


More information about the opencms-dev mailing list