how to invalidate session ids

dear all , Any knows how to invalidate the session ids . Ex . Server maintains maintains many client session ids I want invalidate those client session ids ,,,'
[190 byte] By [sat_hiyaa] at [2007-11-26 23:38:48]
# 1

There are several cases when a session is invalidated:

1. when the time specified in web.xml elapsed (session-timeout tag) - this is specified for the entire server

2. when using session.setMaxInactiveInterval. specs:

"Specifies the time, in seconds, between client requests before the servlet container will invalidate this session."

3. when you call session.invalidate() specs: " Invalidates this session then unbinds any objects bound to it." With this, the session is immediately invalidated.

abc0xyza at 2007-7-11 15:03:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thank you for reply .. I used the 3 method for invalidate the current user .. But i want to know how to invalidate other users from the server .. Thanks in advance
sat_hiyaa at 2007-7-11 15:03:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Use a filter or listener to collect all sessions in a backing map.
BalusCa at 2007-7-11 15:03:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Balus, is that solution related to JSF?
pauster007a at 2007-7-11 15:03:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
No. It's just part of Java Servlet API. JSF is a completely another layer.
BalusCa at 2007-7-11 15:03:30 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...