|
From: yborov <yb...@ya...> - 2006-07-27 20:11:22
|
My current application seems to be getting the same session id whether
the user is using MSIE and/or Mozilla Firefox or Opera, when I
deployed it in Tomcat. However, when I deploy this in Jetty, I seemed
to be getting different session id for MSIE and Mozilla Firefox.
-------------------------
HttpServletRequest httpreq;
try {
httpreq =3D (HttpServletRequest)request;
} catch (ClassCastException e) {
if (logger.isEnabledFor(Level.WARN)) {
logger.warn("Unable to cast to HTTP request");
}
return;
}
HttpSession session =3D httpreq.getSession();
logger.info("Session id: " + getId()); // I am getting
different session id here when deployed in Jetty, but Tomcat give me
the same session id.
------------------------
Initially, I am deploying:
Apache-(ajp13)->Tomcat
but I wanted to move to:
Apache-(apj13)->Jetty
I do want to keep the same behavior as that in Tomcat. Any help is
much appreciated.
Y
|