This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 14, 2011, 6:21 AM
24 Posts

Bugs about sessionScope

  • Category: APIs
  • Platform: All
  • Release: 8.5.1
  • Role: Developer
  • Tags: sessionScope clear
  • Replies: 0
The issue of the sessionScope object being not reset after Logout has been found and reported in forums. While trying to work around the issue, I tried to call sessionScope.clear() but got an error. From the API, sessionScope is a com.sun.faces.context.SessionMap which has a valid clear method. But the stack trace of the exception shows the clear method of the super class com.sun.faces.context.BaseContextMap is called, which is designed to throw a java.lang.UnsupportedOperationException. I reckon this is a bug.
Finally I used an iteration and the remove method to clear the sessionScope object.
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal