Re: Hard Coded Cookie Path

2018-11-14 Thread Deepak Nigam
Thanks Girish for the explanation. What should be the best way to set cookie path for an e-commerce application? On Fri, Oct 5, 2018 at 10:48 AM Girish Vasmatkar < girish.vasmat...@hotwaxsystems.com> wrote: > Hi Deepak > > That largely depends on the use case whether to set cookie path as the

Re: Hard Coded Cookie Path

2018-10-04 Thread Girish Vasmatkar
Hi Deepak That largely depends on the use case whether to set cookie path as the root of the web server or not. Yes, generally, it is preferred to keep the cookies separate for the various web apps deployed on the server. In OFBiz case, various web applications are deployed on separate mount

Hard Coded Cookie Path

2018-10-04 Thread Deepak Nigam
Hello Folks, During the code walkthrough, I observed that everywhere the cookie path attribute is hardcoded as root '/' using the setPath() method. This is not the correct implementation because if the cookie path is set to the root '/', then the cookie will be sent to all the application under