Interface HttpSessionContext


public 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.
Contains information shared by all the HttpSessions.
Since:
Servlet API 2.0
Version:
Servlet API 2.2
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    This method should always return an empty enumeration
    Deprecated.
    This method should always return null
  • Method Details

    • getSession

      HttpSession getSession(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

      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