Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: ASP
Expertise: Intermediate
Jul 17, 2007

The #flastmod and #fsize Server-side Includes

The #flastmod and #fsize server-side includes provide important information on web pages hosted by classic ASP web sites.

The #flastmod include prints the date when the file was last modified. The #fsize include prints the size of the specified file.

When you apply these includes to a web site that allows users to download files, they allow users to check and see whether a file is new, and also the size, so that the user can estimate how long the download will take.

Also, these commands are dynamic. This means that if the file size changes or the last modified date changes, the files are updated automatically.


<html>
<head>
	<title>SSI Include</title>
</head>
<body>

The 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>
</html>
Srinath MS
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap