<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2>Hi Jordan,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2>I recon the easiest way to do this is to invalidate
the session. Just link to a logoff.jsp with the following
contents:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2><% session.invalidate();
response.sendRedirect("/page/that/should/be/displayed/after/logout.html");
%></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2>That's it.</FONT></SPAN></DIV><SPAN
class=699354213-04042008>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#0000ff
size=2>HTH</FONT></DIV>
<DIV dir=ltr align=left></SPAN><SPAN class=699354213-04042008><FONT face=Arial
color=#0000ff size=2>Nick</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>--<BR>Mit freundlichen Grüßen<BR>Nick Panienski<BR>IT
Consultant<BR><BR>codecentric GmbH<BR>Grünewalder Str. 29-31<BR>42657
Solingen<BR><BR>Telefon +49 (212) 24 94
330<BR>Fax +49 (212) 24 94
334<BR>Mobil +49 (151) 167 06 496<BR>eMail
panienski@codecentric.de<BR>Internet <A
href="http://www.codecentric.de/">http://www.codecentric.de</A><BR><BR>Geschäftsführer:
Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft:
Solingen<BR>Registergericht: Amtsgericht Wuppertal, HRB 19214</FONT> </P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Im Auftrag von </B>Territorio
Jordan-V.<BR><B>Gesendet:</B> Freitag, 4. April 2008 15:11<BR><B>An:</B> The
OpenCms mailing list<BR><B>Betreff:</B> [opencms-dev] Logoff system and
session flsuh<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR><BR>I have made a login system which redirect me to a
page where information about the current user are displayed. But now i'd like
to put a link on the user page to log him off. But i was wondering if some tag
could do it because i don't what is the correct (or best) syntax to perform
this action...<BR><BR>I imagine that my link could send information to a java
class and then all sessions variables could be flushed. Unfortunately, as i am
a newbie with openCMS and JSPs, i'm a little lost...<BR><BR>someone could help
me?<BR><BR clear=all><BR>-- <BR>TERRITORIO Jordan-Victor<BR>Ingénieur
d'Intégration Java<BR>TEAMLOG – Ingenieurs 2000<BR><BR>+33 6 30 66 54 69<BR><A
href="mailto:jot@teamlog.com">jot@teamlog.com</A> </BLOCKQUOTE></BODY></HTML>