HttpSessionContext Interface  
public interface HttpSessionContext  
 

The methods declared in the HttpSessionContext interface (and the interface itself) were deprecated as of Java Servlet API 2.1 for security reasons. This interface will be removed in a future API version and its methods should not be used for new codes.

getIds()  
public Enumeration getIds() Deprecated
 

This method has been deprecated and currently returns an empty Enumeration. It should not be used for new code.

getSession()  
public HttpSession getSession(String sessionID) Deprecated
 

This method has been deprecated and currently returns null. It should not be used for new code.