Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

document.write(document.lastModified) help

4 views
Skip to first unread message

Richard Fritzson

unread,
Dec 9, 1996, 3:00:00 AM12/9/96
to

Does anyone understand why

document.write(document.lastModified)

will work when the document is read from some *servers* but not from others.
(I'm using the same browser, Netscape 3.0 all the time.)

Do some servers not provide the necessary information for this code to work?

Thanks for any insight into this.

Rich Fritzson

Rev. John M.T.P. Nolan

unread,
Dec 10, 1996, 3:00:00 AM12/10/96
to


Exactly,

some servers will only return some bogus date and time. You can
try adding this fragment to the page:

<!--#echo var="LAST_MODIFIED" -->

If the page is server parsed (includes SSI) it will return the
last modified date + time.

HTH
--
jonolan
~*~
Reflections From A Murky Pond
http://www.geocities.com/soho/5164
~*~

0 new messages