Difference between getsession(true) and getsession(false)
Answers
Answered by
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
Physics,
6 months ago
Sociology,
6 months ago
Social Sciences,
6 months ago
Computer Science,
1 year ago