RE: [Zope] Unexpected script behavior
[ Michael Long] I forget the details, but it involves the "expires" date/time HTTP header AFAIR. You should be able to search the Zope list (and the Zope site). I know it has been discussed here before. Cheers, Tom P
Thanks for the info. It appears that it is the browser that is caching the data. What is the header control that can be used to prevent this.
Thanks, Mike
[ Michael Long]
I am getting unexpected results from my python script. Here is a snippet form the python script: ...
After the person is successfully deleted from the database another call to the database is made to get a list of people and set that to 'PersonList'. This variable is then used to render the page. The problem is that the deleted person still shows up in the rendered page. When the page is called a second time the correct data is shown. I have validated that the data is deleted from the database when expected. Why would the 'PersonList' not have the correct data?
Sounds like that browser is displaying a cached verison of the page. If it is the browser doing the caching, you can set a header to control it. If it is Zope, you can change the cache setup.
Cheers,
Tom P
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Passin, Tom