Often, a program is comprised of several (sometimes hundreds or thousands) files that work together. This entails one file "calling" another, or redirecting to another. When a user enters the portal, for example, the file
InitParams.aspx is read and executed, and it then redirects to the file
LoginTimeout.js, install.js, detection.js and more. Then, it redirects to
Login.asp, which is the page in which the user has to feed in his authentication credentials. In the following examples, we see a script (left) that has four
include commands, where each of the
.inc files has more code that can be used by the primary script. By using
.inc files, we can reuse ...