Computer Science, asked by KrithickG1199, 1 year ago

Difference between getsession(true) and getsession(false)

Answers

Answered by ramyakri777
0

Answer:GetSession(true) will return current session. If current session does not exist, then it will create a new session. So basically there is not difference between both method. request.getSession(false) will return current session if current session exists, then it will not create a new session.

Explanation:

Similar questions