Hey Guys,
I have a jsp page that updates a profile values. This seems to work since the values change on the Oracle Database are updated.
The problem is when I view the profile the jsp shows the previous values. I hit shift refresh and the page shows the correct updated values.
This is what I have in the page header.
<HEAD>
<META http-equiv="PRAGMA" content="NO-CACHE">
<META http-equiv="CACHE-CONTROL" content="no-store,NO-CACHE,must-revalidate,post-check=0,pre-check=0,max-age=0">
<META http-equiv="Expires" content="-1">
I read some posts about using the phaselistener. I don't think I want all the pages to never be cached just a few that have changing data.
http://turbomanage.wordpress.com/2006/08/08/disable-browser-caching-in-jsf/
http://www.it-eye.nl/weblog/2006/11/20/adf-faces-and-cache-control/
Any ideals out there??
Thanks
Phil