-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

Rob Bugh wrote:
> So my question is, if I enable session affinity but not session 
> replication, how can I failover a connection without losing the 
> session data?

You can't, unless you are using some other mechanism to share that data.

Many times, losing a session isn't a big deal if there's not too much
information held only in the session.

> - Since session replication is not enabled how does Tomcat-2 get the 
> session data? Or can it?

Tomcat-2 has to start over with a new session (i.e. there's no
recovery). In order to share sessions between servers, you must have
session replication enabled.

> Can this problem be solved by using both sticky sessions and session 
> replication?

That's generally the idea.

> Or do I have to abandon session affinity and just use session
> replication. All the documentation I've read to date indicates not to
> use sticky sessions and session replication together.

What have you been reading? I've never done either of these, but it
would seem that the two in concert is the best solution.

- -chris

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

iD8DBQFFyNyB9CaO5/Lv0PARAv5TAJ4zap7ujCUpxTEZyUCQmF8buCgmuACgwGg7
iMwHkO1UcBkHRHRcbEojn7E=
=ZiJl
-----END PGP SIGNATURE-----

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

Reply via email to