PQ89746: WAS ADDS CACHE-CONTROL AND EXPIRES HEADERS AUTOMATICALLY WHEN A COOKIE IS ADDED. CUSTOMER DOES NOT WANT THESE ADDED.

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Websphere sets the cache-control and expires headers
automatically when a cookie is added. The customer does not want
these headers set.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 version 4.0.1 for z/OS and OS/390.           *
****************************************************************
* PROBLEM DESCRIPTION: Cache-Control and Expires Headers were  *
*                      being added by WebSphere Application    *
*                      Server when a cookie was being sent to  *
*                      the browser by the Application.         *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Whenever a cookie is returned by the servlet engine to the
browser two headers namely "Expires" and  "Cache-Control" are
added to the HttpResponse. The "Expires" header is being set to
a value of  "Thu, 01 Dec 1994 16:00:00 GMT". With some old
versions of  browsers it was observed that the "Expires" header
was causing the page not to be cached and on subsequent reloads
of the page by clicking on the "Back Button" the request was
being directed to the Application Server since the page had not
been cached.
Problem conclusion
WebSphere Application Server code is modified to have the
ability to suppress the generation of Cache-Control and Expires
Headers as directed by the new was.conf property:

  appserver.java.extraparm=
    -Dcom.ibm.websphere.cookies.no.header=true
  (The above statement should be in one line)

The new was.conf configuration property is processed by
WebSphere Application Server.  The property:

  appserver.java.extraparm=-Dcom.ibm.websphere.cookies.no.header

may have the value "true" or "false".

When com.ibm.websphere.cookies.no.header has the value "true"
WebSphere Application Server will generate neither Cache-Control
nor Expires Headers in the Http response.

When com.ibm.websphere.cookies.no.header has the value "false"
or is not specified, WebSphere Application Server will generate
both Cache-Control and Expires Headers in the Http response.

The default value is "false".  The default behavior is to add
the Cache-Control and Expires Headers.

APAR PQ89746 is associated with SERVICE LEVEL W401613 of
WebSphere Application Server version 4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ89746
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2004-06-04
Closed date 2004-06-24
Last modified date 2004-07-02

APAR is sysrouted FROM one or more of the following:
PQ56395

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJSJWBJR          

Fix information
Fixed component name WEBSPHERE OS/39
Fixed component ID 5655A9800

Applicable component levels
R401 PSY UQ89957    UP04/06/30 P F406

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ89746
IBM Group: Software Group
Modified date: Jul 2, 2004