Not able to handle the HTTP Session
I'm facing issue on HTTP session on JBOSS 7.3.6. We have deployment as EAR file which has multiple war and jars.
1.New http session created on each request.
2. Invalidate the session and after creating the new session. Both session Id same.
mysession = httpServletRequest.getSession(false);
mysession .invalidate();
session = httpServletRequest.getSession(true);
If i compare both mysession.id and session .Id both are same.
snippet of Standalone-full-ha.xml
jboss-all.xml
50 900 RPTLJSESSIONID true true COOKIE
Each war file contain -
/WEB-INF/jboss-web.xml
/WEB-INF/distributable-web.xml
Interesting this is there no matter whether distributable tag exist in web.xml. I have tested with and without. Nothing happen.
Let me know what i'm doing wrong here to handle http session correctly. Please help me here.
Responses