You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrew Hole <an...@gmail.com> on 2008/09/03 18:16:51 UTC
share SessionID in different webapps - same tomcat
Is it possible to share sessionID between webapps in the same tomcat?
How can I find a demo or some JSP to simulate it?
Thanks a lot
A.C
Re: share SessionID in different webapps - same tomcat
Posted by Gregor Schneider <rc...@googlemail.com>.
On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole <an...@gmail.com> wrote:
> Cookies (like you see in this site) is a good solution?
>
> *http://www.fwd.at/tomcat/sharing-session-data-howto.html*
>
> On Wed, Sep 3, 2008 at 6:21 PM, Andrew Hole <an...@gmail.com>wrote:
>
>> Thanks.
>>
>> And how can I test this feature? Could you help to write a JSP sample?
How about reading a good book?
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: share SessionID in different webapps - same tomcat
Posted by Gregor Schneider <rc...@googlemail.com>.
Andrew,
On Wed, Sep 3, 2008 at 8:09 PM, Andrew Hole <an...@gmail.com> wrote:
> Cookies (like you see in this site) is a good solution?
>
> *http://www.fwd.at/tomcat/sharing-session-data-howto.html*
>
that's not necessary.
When you configure the SingleSignOnValve within Tomcat, all webapps
(contexts) are sharing the same session-data.
However, this valve supports cookies only.
>From the docs:
The Single Sign On feature utilizes HTTP cookies to transmit a token
that associates each request with the saved user identity, so it can
only be utilized in client environments that support cookies.
HTH
Gregor
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: share SessionID in different webapps - same tomcat
Posted by Andrew Hole <an...@gmail.com>.
Cookies (like you see in this site) is a good solution?
*http://www.fwd.at/tomcat/sharing-session-data-howto.html*
On Wed, Sep 3, 2008 at 6:21 PM, Andrew Hole <an...@gmail.com>wrote:
> Thanks.
>
> And how can I test this feature? Could you help to write a JSP sample?
>
> Thanks
>
>
> On Wed, Sep 3, 2008 at 5:58 PM, Gregor Schneider <rc...@googlemail.com>wrote:
>
>> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
>>
>> Search for "SingleSignOn"
>>
>> Gregor
>> --
>> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
Re: share SessionID in different webapps - same tomcat
Posted by Andrew Hole <an...@gmail.com>.
Thanks.
And how can I test this feature? Could you help to write a JSP sample?
Thanks
On Wed, Sep 3, 2008 at 5:58 PM, Gregor Schneider <rc...@googlemail.com>wrote:
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
>
> Search for "SingleSignOn"
>
> Gregor
> --
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: share SessionID in different webapps - same tomcat
Posted by Gregor Schneider <rc...@googlemail.com>.
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
Search for "SingleSignOn"
Gregor
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org