Subject: difference between include file & include virtual
Posted By: crmpicco Post Date: 1/19/2006 11:02:43 AM
What are the differences between include file & include virtual?


<!--#include file="../includes/picco.asp"-->

But does this code below make the page load slower? Why use file instead of virtual?

<!--#include virtual="picco/includes/picco.asp"-->


Thanks.

Picco

www.crmpicco.co.uk
Reply By: mat41 Reply Date: 1/19/2006 6:42:50 PM
http://www.haneng.com/Lessons_6.asp

"When you use the key word VIRTUAL you say to ASP that the file you want to include is located in the root dir of your web server, if you use the FILE key word you tell ASP that the file to include is located in the same directory as the ASP file you have the include statement in. "

Wind is your friend
Matt
Reply By: crmpicco Reply Date: 1/23/2006 10:50:55 AM
yeah, thanks matt. i was meaning more about the processing of virtual - vs - file?

www.crmpicco.co.uk

Go to topic 38931

Return to index page 388
Return to index page 387
Return to index page 386
Return to index page 385
Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380
Return to index page 379