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