Use Server-Side Includes to provide information about classic ASP Pages

Provide more information about pages on your Classic ASP web pages using Server-Side includes. These can be achieved with very little pieces of code snippets

The #flastmod and the #fsize Server-Side Includes provides two important information on a webpage that is hosted by Classic Asp WebSites. 

The #flastmod Include will print the date when the file was last modified.

The #fsize Include will print the Size of the specified file. 

These two informations could be applied to a website that allows user to download files. The users could check if the file is new, and also the size, so that the user can estimate how long the download will take.


And these commands are dynamic, i.e. If the file size changes or the last modified date changes , these are updated automatiically.

E.G. Script

<html>
<head>
       <title>SSI Include</title>
</head>
<body>
File available for download is <a href="download.zip">Download.zip</a>, its size is
<!--#fsize file="download.zip"-->. The file was last updated on <!--#flastmod file="download.zip"-->
</body>
By [)ia6l0 iii   Popularity  (628 Views)