So here is the situation: I am trying to build a site that allows me to allow a user to type in a link and upon clicking submit, they are given a 'masked' link of the link they provided. So now, if the user goes to the 'masked' link, they are automatically redirected to the original link they provided.
I type in http://www.executiveboard.com/
and after I click the 'submit' button, the website says "The original link was: http://www.executiveboard.com/
and your new link is http://www.cebdata.com/ID1.htm
" (Note, I appended the ID1.htm as an example. It can be anything. I don't care)
If I attempt now to go http://www.cebdata.com/ID1.htm
for example, I should be auto-redirected to http://www.executiveboard.com/
I'm VERY new to ASP (Classic, let alone nothing on ASP.net) but I'm a very determined learner of the code and I don't mind the challenge. Just today I was able to figure out how to I can write to an access database and read from it using SQL.
While brainstorming....Is there a way to potentially store both the original and the new link in the table and once the user goes to the new link, it maybe hits the table, looks up the old link and goes to the original link? I can't seem to figure out if its possible to somehow tell any page that maybe ends in http://www.cebdata.com/ID#
to look at the page. If this is NOT the way to do it, let me know and I'll be happy to learn what to do.
Lastly - I could do this manually by constantly creating a bunch of redirect pages but its going to clutter up the space on my server. I believe there HAS to be a way to do this. Please save me from this mess. Boss wants it in 48 hours and I want to exceed expectations by turning it in in 24 hours.
let me know your thoughts. Thanks!