JRS: In article <66**************************@posting.google.com >,
dated Mon, 2 Aug 2004 14:19:17, seen in news:comp.lang.javascript, Kam
Bansal <ka*@magickhat.com> posted :
We're using Apache 1.3 (I know, I know, there's a newer version...)
and it seems that the document.lastModified does not return the
correct date. On Netscape it shows 01/01/1970 and on IE etc it shows
the "current" date, but not the file's last mod date!!!
Your document.lastModified is a javascript string; it is derived, by
something distantly approaching but nowhere near attaining logic, from
the HTTP header Last-Modified line.
You should arrange to inspect this line as transmitted, perhaps by
telnetting into the server (can someone provide the Telnet grammar?). I
expect that you will find it to be absent, or possibly corrupt. The
correct format is :-
Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
Note : web-based page validation services often report HTTP headers.
I've searched the net and I've seen many posts with simular issues,
but I cannot find the solution...is there one??? Is there a setting in
my https.conf file???
For that you should consult a servers newsgroup.
Did you read the FAQ of this newsgroup, though? See footer.
When posting date-related questions, you should give the relevant
locations; it sometimes helps. What time does Netscape show?
ANNOUNCE to regulars : The digit in js-date1.htm, js-date2.htm, js-
date3.htm, and the first part of a shuffled js-date4.htm should in each
case be decremented, with effect from August 1st, BST. I need more
digits ...
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> JL / RC : FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.