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
6 months agoLaurene
6 months agoJerry
6 months agoLisbeth
7 months agoCristina
7 months agoLarae
7 months agoYuki
7 months agoAlpha
8 months agoFredric
8 months agoBok
8 months agoDiane
8 months agoVincent
8 months agoCaitlin
8 months agoGilbert
8 months agoGregoria
8 months agoFrance
8 months agoJeffrey
1 year agoKarl
1 year agoLino
11 months agoLenora
11 months agoDelpha
11 months agoFreeman
1 year agoRashida
11 months agoLoreta
11 months agoRodolfo
12 months agoKiera
12 months agoShaun
1 year agoAracelis
1 year agoNickolas
1 year agoEzekiel
1 year agoPa
12 months agoCordell
1 year agoAnnice
1 year agoChara
1 year agoJules
1 year agoMy
1 year agoFelton
1 year agoNettie
1 year agoAnnamae
1 year agoJodi
1 year agoAlaine
1 year agoCaren
1 year ago