Is HttpSession in java servlet is created only after
HttpSession s = request.getSession();
?
In my code I didn\'t write that, but when
Try to remove session cookies from browser and make another test. If it does not work then some other component is creating a new session before that call.