-
SSI Last Mod Date Problem
Can anyone tell me why when I put the javascript command "document.write(document.lastModified)" into a footer file and include it in my index.shtml file I always get todays date and not the last mod date of the index.shtml file? If I place the line in a .html file it works fine, it only goofs up if I use it in a SSI file. Even if I put the command directly into the index.shtml it will not work, but if I change the file name to index.html it does work. I am using IE 6.0 and I think we use IIS 4.0 for our servers. Thanks for any help
-
-
Isn't a .shtml file generated on the fly? If so, the date would be correct. A common work around in situations where document.lastModified is problematic is to, Ulp! you guessed it, insert the date when you modify the file.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks