Object of HttpSession used to view & manipulate information about session - Servlets

Q.  Which object of HttpSession can be used to view and manipulate information about a session?
- Published on 19 Oct 15

a. session identifier
b. creation time
c. last accessed time
d. All mentioned above

ANSWER: All mentioned above
 

    Discussion

  • Prince   -Posted on 30 May 16
    It is asking WHICH object
  • Sitaram kumar   -Posted on 26 Apr 16
    C best of all question..
  • Nirja Shah   -Posted on 15 Dec 15
    - HttpSession interface container creates a session id for each user.

    - The container uses this id to identify the particular user.

    - An object of HttpSession can be used to perform two tasks:
    1. bind objects
    2. view and manipulate information about a session, such as the session identifier, creation time, and last accessed time.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)