Invalidate sessions

2008-06-17 Thread JLucas ZB

Hello,

i would like to invalidate the sessions.
Is there any way to do that ? 

J Lucas


Re: Invalidate sessions

2008-06-17 Thread Youssef Mohammed
call invalidate method on javax.servlet.http.HttpSession


On 6/17/08, JLucas ZB [EMAIL PROTECTED] wrote:


 Hello,

 i would like to invalidate the sessions.
 Is there any way to do that ?

 J Lucas




-- 
Regards, Youssef


Re: Invalidate sessions

2008-06-17 Thread Christopher Schultz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

J,

JLucas ZB wrote:
| i would like to invalidate the sessions.
| Is there any way to do that ?

Do you mean that you want to invalidate all sessions at once? In order
to do that, you'd have to collect sessions as they are created (using a
HttpSessionListener) and then simply loop through them invalidating
them. Remember to purge them from your list when they expire!

If you just want to invalidate a single session, then Youssef has your
answer.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhYLX0ACgkQ9CaO5/Lv0PAVzQCfSXX/xsbwz317pc06rvaI+wks
cXUAniypT8HyfGBhA6deIpXMuzM2HEIC
=q2bj
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]