Timestamping an HTML Document
Greg Thomas on May 04, 1999 at 10:29:07:
At http://www.irt.org/articles/js130/index.htm you say
That is, the above technique will not work if the file is of the type *.shtml and includes
I can remove the 'it seems' for you. document.lastModified returns that date as indicated by the "last-modified:" HTTP header when the file is retrieved. Many servers that implement SSI do not return this header, because it would be necessary to parse the whole of the 'included' document tree to work out which file was the last modified.
Whilst some servers will return this field, the majority will not, and hence document.lastModified will not work on these servers.
Other feedback on 'Timestamping an HTML Document' - show all