Which of the following statements about a session are true? (Choose two)
Posted: Mon Aug 01, 2022 9:35 am
Which of the following statements about a session are true? (Choose two)
A. The creation time can be obtained using the getSessionCreationTime() method of the HttpSession.
B. The getAttribute() method of the HttpSession interface returns a String.
C. The time for the setMaxInactiveInterval() method of the HttpSession interface is specified in seconds.
D. The isNew() method is used to identify if the session is new.
A. The creation time can be obtained using the getSessionCreationTime() method of the HttpSession.
B. The getAttribute() method of the HttpSession interface returns a String.
C. The time for the setMaxInactiveInterval() method of the HttpSession interface is specified in seconds.
D. The isNew() method is used to identify if the session is new.