In my experience, Internet Explorer starts a new process (and has a
separate set of in-memory cookies) if you start it from the Start menu
or the desktop icon. If you use Ctrl-N from inside the browser or File
> New > Window from IE's menu bar, it's opened in the same process and
uses the same set of cookies as the browser you launched it from. At
least that was true of IE 6 -- I don't know if it's still true for IE
7. Firefox uses one process and all cookies are shared no matter how a
new window is launched.
--David
Leon Rosenberg wrote:
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]