JSESSIONID different from session.getId()
843842Jul 10 2008 — edited Jun 9 2009I am testing an application right now and noticed that the JSESSIONID is different from the session.getId() value.
When I test the servlet I get these values:
JSESSIONID = 0000cn5xAqf5903bGKwW7M9CgoP:-1
request.getSession(false).getId() = cn5xAqf5903bGKwW7M9CgoP
This is on Websphere 5.1. Does anybody know why the JSESSIONID has 7 extra characters? I thought that the session.getId() method was supposed to return the value from the JSESSIONID. I tried this on firefox and IE.
Thanks.