Why Dynamic Content?

So, the content of a page that the user sees could be different each time they open the page. This is the case with the

<META>
page refresh example in the previous chapter, which displayed the time that the ASP script in the page was executed on the server. In some cases, it's absolutely necessary for the page to be different each time it's loaded. If we were providing a card game in a Web page, for example, the user would expect to get a different hand of cards each time.

But this doesn’t have to be the case. We might create content dynamically from a database or other data source that only changes on an infrequent basis. The underlying reason for doing this could well be just to make administration of the site easier. Changes to the source data will be reflected in all the pages when the data is updated, without the need to edit each page manually.

© 1998 by Wrox Press. All rights reserved.