4

I am using Apache MyFaces 2.0. I notice that a cookie oam.Flash.RENDERMAP.TOKEN is getting created for each view, even though I am not using Flash scope and I have set org.apache.myfaces.DISABLE_FLASH_SCOPE=true.

How can I remove the oam.Flash.RENDERMAP.TOKEN cookie? This is WebSphere specific issue

ad-inf
  • 1,520
  • 4
  • 30
  • 53
  • @BalusC: thanks for edit. I am using IBM implementation of Apache MyFaces. Any suggestion on how to remove this cookie? – ad-inf Sep 24 '12 at 15:07

2 Answers2

7

It's old thread, but it took me a while to find an answer, so I leave this for others... Should be:

org.apache.myfaces.FLASH_SCOPE_DISABLED

not DISABLE_FLASH_SCOPE. So in detail, add:

<context-param>
    <param-name>org.apache.myfaces.FLASH_SCOPE_DISABLED</param-name>
    <param-value>true</param-value>
</context-param>

to your web.xml.

Works good since 2.0.5.

mrera
  • 71
  • 1
  • 2
  • I still see Set-Cookie: oam.Flash.RENDERMAP.TOKEN=-58grzla9l in response header after applying the above parameter – ad-inf Apr 02 '13 at 06:44
0

The issue is fixed with WebSphere Fix Pack V8.0.0.6. Refer http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg1PM73173

ad-inf
  • 1,520
  • 4
  • 30
  • 53