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
8 months agoLaurene
9 months agoJerry
9 months agoLisbeth
9 months agoCristina
9 months agoLarae
9 months agoYuki
10 months agoAlpha
10 months agoFredric
10 months agoBok
10 months agoDiane
10 months agoVincent
10 months agoCaitlin
10 months agoGilbert
10 months agoGregoria
10 months agoFrance
10 months agoJeffrey
1 year agoKarl
1 year agoLino
1 year agoLenora
1 year agoDelpha
1 year agoFreeman
1 year agoRashida
1 year agoLoreta
1 year agoRodolfo
1 year agoKiera
1 year agoShaun
1 year agoAracelis
1 year agoNickolas
1 year agoEzekiel
1 year agoPa
1 year 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