My Oracle Support Banner

Http Session Attribute Is Not Replaced If The Key Already Exists On A Certain Condition. (Doc ID 2176895.1)

Last updated on OCTOBER 12, 2023

Applies to:

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


"HttpSessoin.setAttribute(KEY, VALUE)" method cannot replace the VALUE sometimes if the KEY already has a value. This issue happens when WebLogic Server skips the VALUE update if figures out NEW Object equals OLD Object even though actual value is different.


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.