Re: What is the expected behaviour for system property: "org.apache.catalina.core.StandardHostValve.ACCESS_SESSION=false"

2017-09-11 Thread Kwan Lim
the StandardHostValve? It looks like the code is trying to cache an authenticated Principal on the request which is something we do not need for our app since we do our own authentication. On Mon, Sep 11, 2017 at 8:46 AM, Mark Thomas <ma...@apache.org> wrote: > On 10/09/17 01:53, Kwan Lim wrot

What is the expected behaviour for system property: "org.apache.catalina.core.StandardHostValve.ACCESS_SESSION=false"

2017-09-09 Thread Kwan Lim
Hi, I am trying to make a servlet that doesn't extend the session when accessed and it looked like the system property "org.apache.catalina.core. StandardHostValve.ACCESS_SESSION" could do job. To test it out I created a simple project in Netbeans 8.1 with Tomcat 8.5.20 on Windows 10. In the

Re: What is the expected behaviour for system property: "org.apache.catalina.core.StandardHostValve.ACCESS_SESSION=false"

2017-09-11 Thread Kwan Lim
Thanks Mark. Makes sense and the configuration change did the trick! On Mon, Sep 11, 2017 at 10:05 AM, Mark Thomas <ma...@apache.org> wrote: > On 11/09/17 14:21, Kwan Lim wrote: > > Thanks Mark. You are correct that I'm using my own application which > looks &g