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 environments are driven 
purely by the backend database connection, i.e. the code is the same with the 
only difference being where the data is being saved to. Hence the requirement 
to stop the browser sharing the same session when in different database 
connections. 

I'm surprised that other people are not having the same issues since the 
browser manufacturers decided to make this crazy change to session management 
between tabs/instances and suddenly share the same session. In I.E.6 two 
browser instances would be two separate sessions. I.E.7 they are the same 
session! 

Thanks for your input.
Kind Regards,
Rob.


-----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
http://www.example.com/train

The real question is why there's any confusion: your hostnames and/or
URLs ought to be unique enough already. Otherwise, this sort of
foolishness can affect your "real" users and you'll leak data all over
the place.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyqDDQACgkQ9CaO5/Lv0PDWRACgrlgU+jY+n8nMCZ2WTO63UHDh
10UAoJdyNWqu0nlRGcWbJ6Mcc7zbsGy+
=JP4k
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to