you can use session.invalidate(); <br><br>works perfect for me<br><br>hth<br><br><div><span class="gmail_quote">2005/12/20, Pere Torrodellas <<a href="mailto:ptorrodellas@fihoca.com">ptorrodellas@fihoca.com</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>To logoff a webUser we were using the method of loggin in as the guest user,<br>
which worked perfectly with OpenCms 6.0.0:<br><br>CmsJspActionElement cmsj =<br> new CmsJspActionElement( pageContext, request, response );<br>CmsObject cms = cmsj.getCmsObject();<br>String defaultUser = (new CmsDefaultUsers()).getUserGuest();
<br>cms.loginUser(defaultUser, "");<br><br>Now we are enhancing the same application in OpenCms 6.0.3 (updated from<br>6.0.2), but the above code gets an exception:<br><br>org.opencms.db.CmsDbEntryNotFoundException
: User "{0}" was not found.<br><br>I had a look at the source code, but was unable to determine where this user<br>"0" comes from. The getUserGuest() method does return "Guest", user "Guest"
<br>does exist, and guest users can access the application all right.<br><br>Has something changed from 6.0.0 to 6.0.3? Can someone suggest an<br>explanation?<br><br>Thanks for any help,<br><br>Pere<br><br><br><br>_______________________________________________
<br>This mail is send to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mit freundlichen Grüßen<br><br>Siegfried Puchbauer