javax.servlet.http
Interface HttpSessionContext


Deprecated. This class has been deprecated for security reasons.
We don't want serlvets messing around in other sessions.
However convenient that might be.

public abstract interface HttpSessionContext

Contains information shared by all the HttpSessions.

Since:
Servlet API 2.0
Version:
Servlet API 2.1
See Also:
HttpSessionContext

Method Summary
 java.util.Enumeration getIds()
          Deprecated. This method should always return an empty enumeration
 HttpSession getSession(java.lang.String id)
          Deprecated. This method should always return null
 

Method Detail

getSession

public HttpSession getSession(java.lang.String id)
Deprecated. This method should always return null
Get the session with the given id.
Parameters:
id - the id of the HttpSession we're looking for.
Returns:
The HttpSession we're looking for, null if not present.
Since:
Servlet API 2.0

getIds

public java.util.Enumeration getIds()
Deprecated. This method should always return an empty enumeration
Get all sessions ids.
Returns:
an Enumeration containing all session id's.
Since:
Servlet API 2.0