Creating URL shortening and Redirection using ASP

I would like to know the concept behind URL shortening and Redirection. Currently I'm trapping the page 404 in IIS and redirecting it to the short url stored in the db. I want to know if redirecting from 404 page is the correct concept or we have another concept to develop URL shortening and Redirection.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

404 redirection is how I would approach it to be honest, the only other way I know of to approach it involves mucking about with virtual paths in IIS, and tying that into a DB would be pretty tricky without some sort of component / application running on the server. The problem is simply that you cant point to an ASP script handler without some sort of catch all process running, clearly the 404 handler does this for you.

There are a number of 3rd party components / programs out there that do this for you, the first one that comes to mind is ISAPI Rewrite - - but I've yet to hear of a pure ASP only solution that doesn't use the 404 handler

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CWS (haripriya)Commented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Accept: ellandrd {http:#20830929}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Experts Exchange Cleanup Volunteer
Forced accept.

EE Admin
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.