[AccessD] OT: Javascript

Bryan Carbonnell Bryan_Carbonnell at cbc.ca
Fri Jun 20 09:27:03 CDT 2003


Mark,

Not being all that good at Javascript, take this with a grain of salt.

Since you are using SSI to "create" the HTML page, and Javascript is a Client Side script, the JS sees the last modified date as today, which is when the HTML document that the browser sees was last modified by the server.

I think you will need some server-side code to get the last modified date of the html file before it gets to the client.

Does that make sense?

Bryan Carbonnell
bryan_carbonnell at cbc.ca


>>> Mark.Mitsules at ngc.com 20-Jun-03 10:16:32 AM >>>
Group,

I am not familiar with JavaScript.  On each departmental webpage I would
like to place the last "Modified" date (as would be reported from the
operating system).  The routine below was emailed to me as is, but, when
implemented, seems to provide only today's date.  Can anyone spot the
problem and provide a solution?

Does it make a difference that these pages are .stm (using server-side
includes) instead of .htm?  Is it a problem with how I implement it?




More information about the AccessD mailing list