Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Includes files in ASP

Status
Not open for further replies.

harshil77

Programmer
May 9, 2002
6
IN
Hi

I would like to know a few things about include files :

1. Can we include a file from a different server?

2. If i have 15 include files on an asp page, will the page speed be faster if compared to the page with 0 include files(i would paste the code from those files onto my asp page).?

Please let me know ASAP

Thanks :)
 
Answer to question 1:
Yes! You just need to specify the correct URL and location to the file.

Answer to question 2:
The speed probably won't be affected that much - could possibly be a little slower actually, as it would need to make multiple calls to the Server to build the page. The only real benefit I can see is that it may make things easier from an editing point of view.

Hope this helps,
Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top