Create a server-side include file containing the AdRotator code listed in Fig. 25.3. Write an ASP that performs the same action as the AdRotator and uses this server-side include file.

What will be an ideal response?

The first table is config.txt, the second table is redirect.asp and the third table is rotate.asp.



```

1 REDIRECT redirect.asp

2 WIDTH 54

3 HEIGHT 36

4 BORDER 1

5 *

6 /images/us.gif

7 http://www.odci.gov/cia/publications/factbook/us.html

8 United States Information

9 20

10 /images/france.gif

11 http://www.odci.gov/cia/publications/factbook/fr.html

12 France Information

13 20

14 /images/germany.gif

15 http://www.odci.gov/cia/publications/factbook/gm.html

16 Germany Information

17 20

18 /images/italy.gif

19 http://www.odci.gov/cia/publications/factbook/it.html

20 Italy Information

21 20

22 /images/spain.gif

23 http://www.odci.gov/cia/publications/factbook/sp.html

24 Spain Information

25 20

26 <% Call Response.Redirect( Request( "url" ) ) %>

27 <% @LANGUAGE = VBScript %>

28 <% Option Explicit %>

29 <% ' rotate.asp %>

30

31

32

33

34 AdRotator Example</TI</p> <div class="pt-2 text-end"> <span class="badge bg-secondary">Computer Science & Information Technology</span> </div> </div> </div> </div> </div> <div class="py-5 bg-body-tertiary"> <div class="container"> <h3 class="text-center mb-5">You might also like to view...</h3> <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3"> <div class="col"> <div class="card shadow-sm"> <div class="card-body"> <div class="card-area mb-2"> <p class="card-text">A(n) ________ module is an advanced program that is used to create custom objects similar to the preexisting objects that are included in Microsoft Office</p> <p class="card-text">Fill in the blank(s) with correct word</p> </div> <div class="d-flex justify-content-between align-items-center"> <div class="btn-group"> <a href="https://qoschin.com/qa/Tb4K8SDfWbKo" class="btn btn-sm btn-dark px-3">View</a> </div> <span class="badge bg-secondary">Computer Science & Information Technology</span> </div> </div> </div> </div> <div class="col"> <div class="card shadow-sm"> <div class="card-body"> <div class="card-area mb-2"> <p class="card-text">Which of the following is NOT a guideline for handling legacy applications?</p> <p class="card-text">A. Limit physical access to the legacy applications to administrators. B. If possible, deploy legacy applications on a physical machine. C. Employ access control lists (ACLs) to protect the data on the system. D. Deploy the highest level authentication and encryption mechanisms as possible.</p> </div> <div class="d-flex justify-content-between align-items-center"> <div class="btn-group"> <a href="https://qoschin.com/qa/DfbZ0e77dnb0" class="btn btn-sm btn-dark px-3">View</a> </div> <span class="badge bg-secondary">Computer Science & Information Technology</span> </div> </div> </div> </div> </div> </div> </div> </main> <footer class="text-body-secondary py-4"> <div class="container"> <p class="mb-1 text-center">Qoschin: Your Gateway to Quick, Reliable Answers.</p> </div> </footer> <script src="https://qoschin.com/assets/js/bootstrap.bundle.min.js"></script> </body> </html>