Disable oam.Flash.RENDERMAP.TOKEN
Asked Answered
Y

2

5

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

Yoko answered 23/9, 2012 at 18:24 Comment(1)
@BalusC: thanks for edit. I am using IBM implementation of Apache MyFaces. Any suggestion on how to remove this cookie?Yoko
Y
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

Yoko answered 28/9, 2012 at 11:31 Comment(0)
G
8

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.

Geoid answered 25/3, 2013 at 8:31 Comment(1)
I still see Set-Cookie: oam.Flash.RENDERMAP.TOKEN=-58grzla9l in response header after applying the above parameterYoko
Y
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

Yoko answered 28/9, 2012 at 11:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.