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.
Jeffrey
2 months agoKarl
2 months agoLino
2 days agoLenora
8 days agoDelpha
10 days agoFreeman
2 months agoRashida
12 days agoLoreta
13 days agoRodolfo
17 days agoKiera
25 days agoShaun
1 months agoAracelis
1 months agoNickolas
2 months agoEzekiel
2 months agoPa
27 days agoCordell
1 months agoAnnice
2 months agoChara
2 months agoJules
2 months agoMy
3 months agoFelton
2 months agoNettie
2 months agoAnnamae
2 months agoJodi
3 months agoAlaine
3 months agoCaren
3 months ago