• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 720
  • Last Modified:

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.
0
uttam973
Asked:
uttam973
1 Solution
 
ellandrdCommented:
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 - http://www.isapirewrite.com - but I've yet to hear of a pure ASP only solution that doesn't use the 404 handler
0
 
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.

cyberwebservice
Experts Exchange Cleanup Volunteer
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now