Web development resources
ASP: Link Cloaker Using a Database


The basic idea of the script is to give you a way to cloak links. If you're visiting my site from someplace such as Aspin.com, then you've already seen this type of link cloaking. When you make a link using this script, your anchor tag is converted from from:

<a href="http://www.yahoo.com/">Yahoo!</a>

to the new hidden tag:

<a href="http://www.yoursite.com/go2link.asp?LinkId=253">Yahoo!</a>


You may notice that I don't use link hiding on my site. I'm not personally a big fan of it, but I know some people will find this useful. If you like the code, and use it, please consider a regular link back to my site.