|
|
Feedback on: Timestamping an HTML Document
irt.org | About | Feedback | 183 [ previous next ] Feedback on: Sent by Worth: Length: Technical: Comments: "Limitations Unfortunately, it seems that the JavaScript technique doesn't work if the file is already using SSIs (say for some other purpose). document.write(document.lastModified)" 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. HTH, Greg Other feedback on 'Timestamping an HTML Document' - show all
|
-- div -->
|