users@glassfish.java.net

Re: Session in Glassfish v2

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Fri, 11 Jun 2010 10:35:36 -0400

Forwarding this to the (more appropriate) users list.

On 6/11/10 10:18 AM, Connie Huang wrote:
>
> Hi,
>
> We are migrating an existing web app from Weblogic to Glassfish v2. and one
> of the page failed. This page allow users to select fund, inception date etc
> and click "email" button, and it will send out the report .
> After debug, we found that the sessionid is passed in url did not get carry
> through to next jsp , and it generate a new sessionid in the next jsp.
>
> The flow is jsp#1 initiate the session and collect the parameter to pass to a
> function in an ejb bean. In that function, it construct the url with the
> sessionid. The url run but fail , since the jsp#2 in the url has a different
> sessionid.
> so it did not receive those select attribute.
>
> Why Glassfish did not maintain the session? Is it anything need to configure
> or correct in Glassfish v2? Thanks in advance.
>
> Kind regards,
> Connie Huang
>
> ____________________________________________________
>
>
>
> Connie Huang
> AVP Global Information Services
>
> 100 Plaza One, 07311-3901 Jersey City, NJ, USA
> Tel. +1(201)593-8445
> Email connie.huang_at_db.com
>
>
>
> ---
> This communication may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.
>