users@glassfish.java.net

RE: HttpSession Sharing across multiple web applications

From: Lasitha Kodikara <lasithabk_at_millenniumit.com>
Date: Thu, 13 Aug 2009 09:10:20 +0530

Hi Jan,

 

Thannks a lot for the reply.

 

Best Regards,

Lasitha

 

From: Jan.Luehe_at_Sun.COM [mailto:Jan.Luehe_at_Sun.COM]
Sent: Tuesday, August 11, 2009 10:57 PM
To: users_at_glassfish.dev.java.net
Subject: Re: HttpSession Sharing across multiple web applications

 

Lasitha,

On 08/11/09 01:49, Lasitha Kodikara wrote:

HI,

 

Is it possible to share a HttpSession among several web apps?

 

Example, I store session.setAttribute("EMP",employee); in web app 1 and
retrieve it in web app 2 by session.getAttribute("EMP");


No, this is not possible: http sessions (and their associated session
managers)
are scoped to web applications.

Jan




 

Thanks in advance,

Best Regards,

Lasitha


****************************************************************************
****************************************************************************
***********

"The information contained in this email including in any attachment is
confidential and is meant to be read only by the person to whom it is
addressed. If you are not the intended recipient(s), you are prohibited from
printing, forwarding, saving or copying this email. If you have received
this e-mail in error, please immediately notify the sender and delete this
e-mail and its attachments from your computer."

****************************************************************************
****************************************************************************
***********

 



*******************************************************************************************************************************************************************

"The information contained in this email including in any attachment is confidential and is meant to be read only by the person to whom it is addressed. If you are not the intended recipient(s), you are prohibited from printing, forwarding, saving or copying this email. If you have received this e-mail in error, please immediately notify the sender and delete this e-mail and its attachments from your computer."

*******************************************************************************************************************************************************************