what is the difference between getsession true and getsession fales
The getSession(true) will check whether a session already exists for the user. If yes, it will return that session object else it will create a new session object and return it. While getSession(false) will check existence of session. If session exists, then it returns the reference of that session object, if not, this methods will return null.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.