It's easily done, but I'm not sure why using application.cfm is necessary. 
Why not do both the db lookup and server side redirect in one CF file?


----- Original Message ----- 
From: "Robert Munn" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, May 19, 2005 5:02 PM
Subject: RE: Short URL / URL redirection


> tinyurl is great for posting on forums and the like, but I don't think I 
> would use it for commercial purposes.
>
> I'm not sure the way their system works, but it seems like it would be 
> easy to make a  URL-forwarding system using nothing but application.cfm 
> and index.cfm. application.cfm would contain a lookup system that would 
> intercept the incoming url and look it up against a database of 
> short-to-long url conversions. index.cfm would do a server-side 
> re-direct to the long url. simple.
>
>>http://tinyurl.com/
>>
>>-----Original Message-----
>>From: Mark Leder [mailto:[EMAIL PROTECTED]
>>Sent: May 19, 2005 14:07
>>To: CF-Talk
>>Subject: Short URL / URL redirection
>>
>>
>>Hi all,
>>
>>I'm wanting to figure out how to take a long CF URL and convert to a 
>>short
>>URL for use in emails, etc.  Any methods, best practices, etc.  I really
>>don't know where to start.
>>
>>Thanks,
>>Mark
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207233
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to