Hi Fredrik,

>
> HttpSession session = .....;
> session.setAttribute(String nameOfYourObject, Object yourObject);
> Object yourObject = session.getAttribute(String nameOfYourObject);

Surely, this cannot be correct? It would take me some effort to try
sharing attributes between webapps, so I can't try it immediately, but
different webapps even set different session cookies (JSESSIONID, that
is) to the client, so it is very hard for me to believe that all webapps
are sharing the same session.

Sure they do, we're doing it here, and it's pretty easy to implement.
However, to make all webapps using the same JSSOSessionID, you have to
enable the SingleSignOn-valve in your server.xml:

<Valve className="org.apache.catalina.authenticator.SingleSignOn"/>

This ensures that all webapps share the same session.

Cheers

Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
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