|
From: Greg W. <gr...@mo...> - 2006-07-29 16:12:13
|
Y,
I don't understand your problem?
The ID is different to the ID previously in the handling? or from a
different browser?
ID's should be be mostly random and unpredictable,
can you explain some more?
regards
yborov wrote:
> 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 = (HttpServletRequest)request;
> } catch (ClassCastException e) {
> if (logger.isEnabledFor(Level.WARN)) {
> logger.warn("Unable to cast to HTTP request");
> }
> return;
> }
>
> HttpSession session = 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
>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|