Hi Mandeep,

Thank you very much. I am new to OFBIZ.

I searched online and found that since Tomcat 6 you can specify the session
cookie domain to be on root domain, by adding

<Context sessionCookieDomain=".mydomain.com" sessionCookiePath="/">

According to Tomcat 7's document this is best to be added to the
context.xml  ( http://tomcat.apache.org/tomcat-7.0-doc/config/context.html )

However I can't seem to find context.xml in OFBIZ. The CATALINA_HOME is
$OFBIZ_HOME/runtime/catalina  and CATALINA_BASE is $OFBIZ_HOME, and a
default context.xml is normally in $CATALINA_BASE/conf/context.xml

So could I create a new folder "conf" under OFBIZ_HOME and add a
context.xml in it please? Would that work for OFBIZ? Thank you very much.

Kind Regards

Fong




On Wed, Jul 3, 2013 at 2:12 AM, Mandeep Sidhu <[email protected]>wrote:

> I believe you can do so by passing the jsessionid as one of the query
> parameters when the redirect is happening.
>
> Mandeep
>
>
> On Tue, Jul 2, 2013 at 2:26 AM, Ofbiz 开发 <[email protected]> wrote:
>
> > Hi everyone,
> >
> > Could someone help me on this please?
> >
> > At the moment when the shopping cart is created on www.example.com, when
> > the user browse to another subdomain, say abc.example.com, he will lose
> > the
> > shopping cart, is it because the session is tied to the subdomain please?
> >
> > Is there a way to make the session tied to the root domain
> > example.complease? Or how can I go about make the shopping cart cross
> > sub-domains
> > please? Thank you very much.
> >
> > Kind Regards
> >
> > Fong
> >
>
>
>
> --
> Regards,
> Mandeep Singh Sidhu
> http://www.simbacart.com (ofbiz based)
> http://www.sidsol.com
>

Reply via email to