[Zope] Updating object's modification timestamp?

Graham Chiu anon_emouse@hotmail.com
Wed, 23 Jun 1999 08:44:58 +1200


In article <B059671903C6D211A0D500C0F0301C7910C8FF@kubrick.mop.no>,
Alexander Staubo <alex@mop.no> writes
>I suggest adding a touch() method that lets you update the time stamp
>programmatically. Why? Well, in my case I have a front page which uses
>an SQL database for news, articles, and various things. Whenever an
>editor posts an article (through a Zope-built management interface), the
>front page should be "touched"; otherwise Zope will give the wrong
>Last-Modified date to the browser, and all users will see is the old

Are you saying that Zope sends the last-modified date to the browser
based on the actual modification date of the dtml page?

If so, it seems to me that Zope should have it's own time stamp which it
uses for its own internal processes, and you should have an option of
either using that date for last-modified, or for using a user defined
variable.

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz