Question

Problem:

  1. UserA and UserB are in a network with server proxy.
  2. UserA opens page "www.myapp.com/initPage.htm".
  3. If UserB opens the same page, then he will see the page with information from UserA.
  4. For the proxy server is the same page so it returns the information it has cached.

More Info:

  1. Each user has different JSESSIONID and stored in the attribute set-cookie of the header response.
  2. The URL is the same for the two users but the information depends on the JSESSIONID.
  3. The proxy server don't stores the JSON calls only HTML pages.
  4. I tried to solve the problem with this solution but did not work.

Architecture:

  1. My application is implemented with Spring Security 3.1 and Struts2.
  2. Work on Apache2 server, which is connected to a Tomcat7 through mod_jk module and configured with "workers.properties" file.

How I can tell the proxy server will never save the HTML page?

Best regards and thanks.

Was it helpful?

Solution

Finally, this solution worked but adding the filter in the first position in the web.xml.

Best regards and thanks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top