We would like to inject some code on each ASP.NET page that requests its “Last Modified Date” and displays it at the bottom of the page.
In the past, we relied on the person who made any changes to the page to manually update the text “This page is with the latest changes (today's date)” at the bottom of the page. Many times they forget to update this, which causes some confusion as to when the information was last updated on this particular page. Since the site is not based on CMS, which can store this information in its internal database, we are trying to determine when the last page was saved from the file system on the server and includes this date in the page text.
I’m not sure how the page based on the main page plays the “last modified date”. What we are really looking for is searching for the LMD file on the content page so that we can embed it in the text of the page, rather than the LMD of the main page on which it is based.
Thank!
source
share