Blog Archives

Using a Classic ASP Dictionary Object To Handle Broken Links

My site INeedCoffee was first built way back in 1999 using Classic ASP.  Back then it was just called ASP or Active Server Pages.  It works well and doesn’t require moving to ASP.NET, so I never updated the code base. 

Tagged with:
Posted in Classic ASP

Log Events in Classic ASP to File System

Here is some code I created many years ago to log events on a web site using Classic ASP. All the code was placed into an include file called logEvent.asp. logFile = “C:\SomePath” Sub LogEvent (pageName, user, message) Const ForWriting

Tagged with: ,
Posted in Classic ASP

Classic ASP Search Engine Friendly Redirects

A while back I posted how to code a search engine friendly redirect in ASP.NET. Recently I’ve had to go old school and preform this task in Classic ASP. Here is the VBScript version of a search engine friendly redirect.

Tagged with: ,
Posted in Classic ASP

Blogger Label List for FTP Accounts (Classic ASP)

*** MARCH 2010 UPDATE: Blogger no longer supports FTP accounts.*** For an overview on Blogger Label Lists read Blogger Label List for FTP Accounts (ASP.NET). Below is the code used to create a Label List using Classic ASP with VBScript.

Tagged with: , ,
Posted in Classic ASP

SQL Injection – Case Study

Well I got nailed today. My site INeedCoffee.com which is written using Classic ASP fell victim to a SQL Injection attack. The damage was limited to just one column in a table of nine rows. Textbook SQL Injection Attack Almost

Tagged with: , ,
Posted in Classic ASP, SQL