tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Rosenberg" <rosenberg.l...@googlemail.com>
Subject Re: Using tabbed browsers causes session sharing
Date Fri, 15 Aug 2008 23:29:56 GMT
Thats probably because it has nothing to do with tomcat or
sessionmanagement, but has something to do with cookies and browser
processes.
AFAIK the only browser which allow theirself to be started in multiple
processes are internet explorer and lynx. And internet explorer only
if you activated a special option (start new window in separate
process was the name in the good old days). The effect of the "one
process" behaviour is:
"one process -> one cookie -> one session".

So what can you do? Basically two things
1) switch off your cookies and let tomcat url rewrite your links.
This is generally a very bad idea, since your users won't be switching
the cookies (unless some stupid admin forces them too, but i
think/hope those specimen became extinct now) and you are
developing/testing not the same thing your users will use.
Also keep in mind that most crawlers can't handle sessionids in urls properly.

2) Use two different browsers.
Now with i think at least 5 classy browsers on the market it should be
easy to find two or three to use simultaneously. On the plus side it
will help you to keep the browser interoperability:

here some browsers to use:
Firefox 2
Firefox 3
Internet Explorer 7
Opera
Flock
Netscape Navigator 9 (Firefox 2.0.0.10 under the hood)
Safari
Mozilla
Camino
Konqueror

Not all are available on all platforms, but most are.

regards
Leon





On Sat, Aug 16, 2008 at 12:56 AM, André Warnier <aw@ice-sa.com> wrote:
> Hi guys,
> shouldn't someone *explain* to the OP why this is happening ?
> I mean, the different bits and pieces are there in different answers, but
> maybe the "big picture" is missing to understand what and why it is
> happening ?
> Not knowing myself the hows and whys of Tomcat's session management, I don't
> feel confident enough to attempt such an explanation on my own.
> Or is it mentioned clearly somewhere in a doc that I missed ?
> I just went through items 1 to 26 of the list in
> http://tomcat.apache.org/tomcat-6.0-doc/index.html
> and, at first sight, I don't see anything that obviously points to session
> management.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message