The ASP Emporium
Free Active Server Applications and Examples by Bill Gearhart
Online since Friday January 7, 2000

 home > code > classic asp apps > Link Ranking System

enter a phrase to search:(advanced search)


 h o m e 

 w h a t 's  n e w 

 a l l   c o d e 
  .net:
    • Fundamentals
    • C# Classes
  classic asp:
    • Code Library
    • ASP Apps
  general:
    • Tutorials
    • SQL

 d o w n l o a d s 

 u s e r   f o r u m s 

 l i n k s 

 s e a r c h 

 s u p p o r t 


Link Ranking System

This quick block of code takes any number of links from an access database and displays them as a table. Each time a link is clicked, the click is recorded in the database and the client is redirected to the proper site, creating a simple click thru monitor that records the popularity of links.

Version 3.0 released on June 9, 2002 has the following changes that previous versions of the software didn't have:
  • changed querystring passed from address to id (string to int)
  • rebuilt as a vbscript class
  • repaired the overflow error caused by incorrect coding in previous versions
  • opens the db only one time on each run, rather than 2 times like in previous versions. result was a speed increase.
  • returned html is now pretty, rather than one big string
link popularity
East Brooklyn Online ( 42.5% )
Brooklyn Museum Of Art ( 19.3% )
NYC Subway Resources - nycsubway.org ( 19.3% )
Google Web Directory - Brooklyn, NY ( 18.9% )