It's only really useful if you have something you actually want to do with ASP. If you're just hosting a regular site with a few pages, there's no real use... you might as well stick with a few php includes.
In any case, asp includes work pretty much the same as php, you use the tag to include the file you like, wherever you want its content to show up.
But there are two ways of including. Virtually/Absolutely or Relatively.
Let's say you are working inside a file that is located in a folder called "dir" and you want to include a file that is located in a subdirectory of "dir" called "subdir."
So, to put it more visually:
QUOTE
Root- /dir
- index.asp - this is the file you are working in.
- /subdir
- file.asp - this is the file you are including.
Absolutely:This assumes that the file is being called starting from your server's root directory. It doesn't matter where you are currently on the server, it will automatically assume that you are starting from your root.
QUOTE
<!--#include virtual="dir/subdir/file.asp" -->
Relatively:This indicates that you are calling the file relative to your current position on your server.
QUOTE
<!--#include file="/subdir/file.asp" -->
another example is if the file was in the same folder ("dir") then it would simply be:
QUOTE
<!--#include file="file.asp" -->
Hope this helps.