Versioned Cookie Cannot Be Accessed From Internet Explorer (Doc ID 1364837.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.4 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

Versioned cookies cannot be accessed from Internet Explorer (IE), for an application deployed on WebLogic Server (WLS). This issue can be easily reproduced by using the following code in a simple JSP page:

Cookie version0Cookie = new
Cookie("Version_0_TestCookie","Cookie-Version-0");
version0Cookie.setPath("/");
response.addCookie(version0Cookie);

Cookie version1Cookie = new
Cookie("Version_1_TestCookie","Cookie-version-1");
version1Cookie.setPath("/");
version1Cookie.setVersion(1);
response.addCookie(version1Cookie);

While accessing the JSP via IE, there will be no issues with version0Cookie, but if you try to retrieve version1Cookie then it will fail.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms