Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference between .ASP and .INC?
Message
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00249594
Message ID:
00249933
Views:
16
An include file is "included" before any script processes in an ASP file. Their primary use is to store common stuff once to use in many pages. For instance, if you had five text links at the bottom of every one of your ASP pages, you could put that portion of the code in an include file and then include it at the bottom of every page. Then if you want to add a link, you add it to the include file and presto! Like magic the change shows up on every page instantly. You can also use them to store common script functions.

Keep in mind that I said "before any script processes". This means you cannot programmatically determine which include file to use.

HTH

>What is the difference between using a .ASP file versus a .INC file as the "#include" file within an ASP document?
>
>Thank,
>Michael
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Previous
Reply
Map
View

Click here to load this message in the networking platform