My Oracle Support Banner

WebLogic Server JSESSIONID Lost when Application Uses Set-Cookie in Apache Configuration (Doc ID 1682547.1)

Last updated on AUGUST 21, 2023

Applies to:

Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.


The environment is as follows:

Browser -> Load Balancer -> Apache -> Two WLS Clusters running on two different Data Centers (both are active)

In order to maintain session stickiness to one Data Center, a cookie is added to the HTTP Response in the Apache http.conf file. For example:

where "<host.domain>" is the DataCenter-specific cookie that is added to the HTTP response.

With this configuration, WLS Sessions are lost. The user is redirected to the Login page for every request.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.