Skip to main content

[webtier] Re: Http session| share between diff. web app

2 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jan Luehe

On 10/13/08 01:45 AM, glassfish@javadesktop.org wrote:
> Hi
>
> I have two web apps deployed on same app server (sun app server 9.1).
> Is it possible to share http session data across them (please ignore the fact that servlet spec does not say to do so)?
>
>
> Weblogic provides following setup to achieve this.
>
>
>
>
memory > true
>

>

>
>
> please help.
>

This is not supported in GlassFish. The only kind of "session"
information that can
be shared by webapps in GlassFish is related to authentication, and
stored inside
Single-Sign-On (SSO) entries. Only webapps that are part of the same
security realm,
and deployed to the same virtual server, may share this kind of information.

Enabling sharing of "regular" sessions across webapps is tricky, because
it requires that
different webapps have access to each other's classloaders, so that one
webapp can read
the session attributes (of custom class types) stored by another.

As a side note, please use webtier@glassfish.dev.java.net for any
GlassFish webtier
related questions going forward.

Thanks!

Jan

> sujee
> [Message sent by forum member 'bayshore' (bayshore)]
>
> http://forums.java.net/jive/thread.jspa?messageID=305911
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Shing Wai Chan

One can achieve this through openSSO: https://opensso.dev.java.net/
In other words, you need to install openSSO on GlassFish.
Shing Wai Chan

Jan Luehe wrote:
> On 10/13/08 01:45 AM, glassfish@javadesktop.org wrote:
>> Hi
>>
>> I have two web apps deployed on same app server (sun app server 9.1).
>> Is it possible to share http session data across them (please ignore
>> the fact that servlet spec does not say to do so)?
>>
>>
>> Weblogic provides following setup to achieve this.
>>
>>
>>
memory >> true
>>

>>

>>
>>
>> please help.
>>
>
> This is not supported in GlassFish. The only kind of "session"
> information that can
> be shared by webapps in GlassFish is related to authentication, and
> stored inside
> Single-Sign-On (SSO) entries. Only webapps that are part of the same
> security realm,
> and deployed to the same virtual server, may share this kind of
> information.
>
> Enabling sharing of "regular" sessions across webapps is tricky,
> because it requires that
> different webapps have access to each other's classloaders, so that
> one webapp can read
> the session attributes (of custom class types) stored by another.
>
> As a side note, please use webtier@glassfish.dev.java.net for any
> GlassFish webtier
> related questions going forward.
>
> Thanks!
>
> Jan
>
>> sujee
>> [Message sent by forum member 'bayshore' (bayshore)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=305911
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net