Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog
[prev. Lesson]  Include/Redirects: New Win2k Commands
     [next Lesson]  More Book Sample Exercises

Book Sample by Charles Carroll

The Recommend Book Sample Files provides you with several files that when created, prepare you for applying several powerful content management tools and session examples in the following pages. The features detailed will include:

  • Include files that implement pages headers, footers
  • sessions and application variables to track users accessing these pages
  • the content linker component

all come together in this example.

Here is the code for bookheader.asp:

   filename=/learn/test/bookheader.asp

<Test Script Below>


Recommended Books for <%=session("fname")%> &nbsp; <%=session("lname")%><br><hr>

Here is the code for bookfooter.asp:

   filename=/learn/test/bookfooter.asp

<Test Script Below>


<hr><br>
Recommended Books has <%=application("howmany")%> people reading it now!

Here is the code for bookfuture.asp:

   filename=/learn/test/bookfuture.asp

<Test Script Below>


<html><head>
<title>bookfuture.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Future Books</h1>
<ul>
  <li><b><i>Visions</b></i><br>Michio Kaku</li>
  <li><b><i>Future Magic</b></i><br>Robert Forward</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

Here is the code for bookhorror.asp:

<    filename=/learn/test/bookhorror.asp

<Test Script Below>


<html><head>
<title>bookhorror.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Horror Books</h1>
<ul>
  <li><b><i>Carrion Comfort</b></i><br>Dan Simmons</li>
  <li><b><i>The Stand</b></i><br>Steven King</li>
  <li><b><i>Children of Darkness</b></i><br>Dan Simmons</li>
  <li><b><i>Thinner</b></i><br>Steven King</li>
  <li><b>Fires of Eden<i></b></i><br>Dan Simmons</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

Here is the code for bookmarketing.asp:

   filename=/learn/test/bookmarketing.asp

<Test Script Below>


<html><head>
<title>bookMarketing.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Marketing Books</h1>
<ul>
  <li><b><i>22 Immutable Laws of Branding</b></i><br>Reiss and Reiss</li>
  <li><b><i>22 Immutable Laws of Marketing</b></i><br>Reiss and Trout</li>
  <li><b><i>Marketing Warfare</b></i><br>Reiss and Trout</li>
  <li><b><i>Horse Sense</b></i><br>Reiss and Trout</li>
  <li><b><i>Words That Sell</b></i><br>by ??</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

Here is the code for booknovels.asp:

   filename=/learn/test/booknovels.asp

<Test Script Below>


<html><head>
<title>booknovels.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Recommended Novels</h1>
<ul>
  <li><b><i>A Prayer for Owen Meaney</b></i><br>John Irving</li>
  <li><b><i>Cider House Rules</b></i><br>John Irving</li>
  <li><b><i>Heart of the Country</b></i><br>Greg Mathhews</li>
  <li><b><i>All That Remains</b></i><br>Patricia Cornwell</li>
  <li><b><i>Presumed Innocent</b></i><br>Scott Turrow</li>
  <li><b><i>Time to Kill</b></i><br>John Grisham</li>
  <li><b><i>Disclosure</b></i><br>Michael Chrichton</li>
  <li><b><i>Mount Dragon</b></i><br>Lincoln and Childs</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

Here is the code for bookscifi.asp:

   filename=/learn/test/bookscifi.asp

<Test Script Below>


<html><head>
<title>bookscifi.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Science Fiction Recommended Books</h1>
<ul>
  <li><b><i>Ender's Game</b></i><br>Orson Scott Card</li>
  <li><b><i>Hyperion</b></i><br>Dan Simmons</li>
  <li><b><i>Childhood's End</b></i><br>Arthur Clarke</li>
  <li><b><i>TommyKnockers</b></i><br>Steven King</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

Here is the code for bookselfhelp.asp:

   filename=/learn/test/bookselfhelp.asp

<Test Script Below>


<html><head>
<title>bookselfhelp.asp</title></head>
<!--#include file="bookheader.asp"-->
<body>
<h1>Self Help Books</h1>
<ul>
  <li><b><i>Road Less Travelled</b></i><br>Scott Peck</li>
  <li><b><i>The Seven Habits of Highly Effective People</b></i><br>Steven Covey</li>
  <li><b><i>First Things First</b></i><br>Steven Covey</li>
</ul>
<!--#include file="bookfooter.asp"-->
</body></html>

There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too. a $5 tip buys him lunch at McDonalds, a $20 tip buys his kid Hitoshi a new computer game, a $39 tip buys his daughter Michiko a few nice outfits. See our donor list.