Which of the following statements are true about KisMAC?
The getSession() method of the HttpServletRequest interface returns the current session associated with the request, or creates a new
session if no session exists. The method has two syntaxes as follows:
public HttpSession getSession(): This method creates a new session if it does not exist.
public HttpSession getSession(boolean create): This method becomes similar to the above method if create is true, and returns the
current session if create is false. It returns null if no session exists.
Answer B is incorrect. The getSession(false) method returns a pre-existing session. It returns null if the
client has no session
associated with it.
Answer A and E are incorrect. There is no such method as getNewSession() in Java.
Emilio
4 months agoLaurene
4 months agoJerry
4 months agoLisbeth
4 months agoCristina
5 months agoLarae
5 months agoYuki
5 months agoAlpha
5 months agoFredric
5 months agoBok
5 months agoDiane
5 months agoVincent
5 months agoCaitlin
5 months agoGilbert
6 months agoGregoria
6 months agoFrance
6 months agoJeffrey
10 months agoKarl
10 months agoLino
9 months agoLenora
9 months agoDelpha
9 months agoFreeman
11 months agoRashida
9 months agoLoreta
9 months agoRodolfo
9 months agoKiera
10 months agoShaun
10 months agoAracelis
10 months agoNickolas
10 months agoEzekiel
11 months agoPa
10 months agoCordell
10 months agoAnnice
10 months agoChara
11 months agoJules
11 months agoMy
11 months agoFelton
10 months agoNettie
11 months agoAnnamae
11 months agoJodi
11 months agoAlaine
12 months agoCaren
12 months ago