How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
ASP None Tutorials
Framed Click Through
This example code shows how to place a frame around an external link from your site, similar to the method AskJeeves.com site uses. This enables a few things. Useful for displaying a banner ad and/or easy navigation back to your site. This example consists of three parts: linkto.htm, which contains links to a few websites in the convention necessary for the framed click through to work; frame-click.asp, which will track the referring page and the requested and open a frameset and the link being requested; and frame-navigation.asp, which writes out a link for the referring page (or home page when none is detected) and a link to remove the frame to view the target link.
Use an include file for your database connection
Use an include file for your database connection. Here's the reason why. Before I wised up to this, I was placing the connection on every page. Then there were some configuration changes and none of the pages worked. This meant that every page had to be edited.
This is an article on executing all or none database queries using ASP-Database transactions. Must read for ASP-Database developers. Sample Database and Code available for download.