2010 14:40
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
From: Rob Gregory [mailto:rob.greg...@ibsolutions.com]
Subject: RE: Tabbed browsers sharing session - work around.
I am surprised this hasn't been a problem for a
lot more people.
It's not a problem
Hi Chris,
Is there any way to dynamically create these contexts or do they require a
live.xml, test.xml, etc within conf/Catalina/localhost. The multiple contexts
would be my preferred approach although I would like to achieve this with a
single code base if this is possible. The multiple
Chris,
See comments below:-
Rob,
On 10/4/2010 7:27 AM, Rob Gregory wrote:
Using the hostname doesn't really guarantee a unique session for example
if I click new tab and paste the URL into the new window I suspect the
browser will see the same session from the first tab.
Note that
Rob,
IE 6 is even more confusing. If you open a new window with ctrl-N you have the
same session sharing as with tabs. Only if you click the IE6-icon to start a
new instance of the process it will not share them. Opening a new tab in IE7 is
like using ctrl-n to open a new window in IE6.
Hi Ronald,
Yes I was aware of that behaviour... Just for reference Firefox and
Google Chrome also share session logic so I am surprised this hasn't
been a problem for a lot more people. I am happy that my work around
solves the session sharing problem but would still prefer to go down the
dynamic
Rob,
The way you describe session sharing is indeed a problem. The way we deal with
this is to use a separate database table to keep track of window ids. A unique
value is assigned when a window is opened and maintained until the window is
closed. Although the session may be the same for
Hi Stephen,
The approach we use was described in my original post. If you need more
information then I can explain further if it helps. Note, our approach
does require a bespoke tomcat request class (to change the session
cookie path) and this has not been without teething problems. Are you
also
From: Rob Gregory [mailto:rob.greg...@ibsolutions.com]
Subject: RE: Tabbed browsers sharing session - work around.
I am surprised this hasn't been a problem for a
lot more people.
It's not a problem for most because most don't try to run live, test, and
training inside a single Context
Subject: RE: Tabbed browsers sharing session - work around.
From: Rob Gregory [mailto:rob.greg...@ibsolutions.com]
Subject: RE: Tabbed browsers sharing session - work around.
I am surprised this hasn't been a problem for a
lot more people.
It's not a problem for most because most don't
Our app running on Tomcat 5.0.28 has some kind of kluge involving a
flown-in vhosts.xml file in .../conf that uses aliases such that people
can have separate sessions of the same app on separate tabs. I have no
idea if this is how this should have been done back in the olden days
but more
/context?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, October 05, 2010 8:40 AM
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
From: Rob Gregory [mailto:rob.greg...@ibsolutions.com]
Subject: RE
[mailto:jeffrey.jan...@polydyne.com]
Sent: 05 October 2010 15:26
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
I agree, this is a very scary app to support.
At a minimum, multiple contexts, each with its own database resource
definition would avoid a lot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 10/5/2010 5:03 AM, Rob Gregory wrote:
Sounds like you need to be pretty careful. Is it possible you've built a
fragile application?
Some legacy parts of the application became fragile when the browsers
started sharing sessions and this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 10/5/2010 4:26 AM, Rob Gregory wrote:
Is there any way to dynamically create these contexts or do they
require a live.xml, test.xml, etc within conf/Catalina/localhost.
You can use JMX or the manager to deploy an application under any
Hi Chris,
In Internet Explorer 5.5,6.0 if you opened up two separate browser instances
they would have two 'un-connected' sessions. As stated by Ronald they would
share the session if the 2nd was opened using ctrl-n but otherwise the sessions
would be unique. Cookies may have always worked as
: Rob Gregory [mailto:rob.greg...@ibsolutions.com]
Sent: Tuesday, October 05, 2010 10:51 AM
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
Hi Chris,
In Internet Explorer 5.5,6.0 if you opened up two separate browser instances
they would have two 'un-connected
to see if anyone could
suggest a better solution.
Thanks for your input.
Rob
-Original Message-
From: Maximilian Stocker [mailto:m...@talentoyster.com]
Sent: 05 October 2010 16:03
To: 'Tomcat Users List'
Subject: RE: Tabbed browsers sharing session - work around.
This application
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 10/5/2010 11:28 AM, Rob Gregory wrote:
Basically we are stuck with some legacy application parts that while
these are scheduled to be replaced we have to support them until they
have been. Using filters would not solve the issue as the
application dynamically creates these environments. The application is
not internet facing if that makes a difference.
Regards
Rob
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: 04 October 2010 11:12
To: Tomcat Users List
Subject: Re: Tabbed browsers sharing
a virtual context as part of the final solution.
Kind Regards,
Rob
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: 04 October 2010 12:15
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
Hi,
Ok. I didn't understand that somebody
Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: 04 October 2010 11:12
To: Tomcat Users List
Subject: Re: Tabbed browsers sharing session - work around.
You can run your test environment on another hostname.
live.example.com
test.example.com
train.example.com
Maybe use
You can run your test environment on another hostname.
live.example.com
test.example.com
train.example.com
Maybe use a login.example.com to redirect you to the right url after login.
Ronald.
Op maandag, 4 oktober 2010 11:03 schreef Rob Gregory
rob.greg...@ibsolutions.com:
Hi Tomcat
-Original Message-
From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
Sent: 04 October 2010 12:15
To: Tomcat Users List
Subject: RE: Tabbed browsers sharing session - work around.
Hi,
Ok. I didn't understand that somebody chooses an environment dynamicly.
The JSESSION cookie is tight
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 10/4/2010 6:11 AM, Ronald Klop wrote:
You can run your test environment on another hostname.
live.example.com
test.example.com
train.example.com
Or under another context:
http://www.example.com/live
http://www.example.com/test
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 10/4/2010 7:27 AM, Rob Gregory wrote:
Using the hostname doesn't really guarantee a unique session for example
if I click new tab and paste the URL into the new window I suspect the
browser will see the same session from the first tab.
25 matches
Mail list logo