You configure your web server to create a custom 404 response header. In IIS, you go to the Custom Errors tab in the site properties and modify the 404 to point to a page on your site and perhaps add some custom URL parameter to help you catch it. Then on that page you parse the request ("CGI.HTTP_REQUEST" in CF5 or "GetPageContext().getRequest().getRequestURL().toString()" in CF6/7) to grab the token in the URL you're looking for. You can then use that value to do the lookup in your table.
-----Original Message----- From: olivier [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 9:13 PM To: CF-Talk Subject: simple URLs like www.domain.com/go/2345 Hello ! Basically, I want to be able to use a simple URL that would forward to a more complex one. Like when you communicate on paper, you don't want the user to have to type www.domain.com/products/index.cfm?action=this&product=that&disptype=1234&pro mo=1234 but you'd rather have them use something simple like www.domain.com/1234 At the same time, you can take the opportunity to log that hit in another table to run statistics. The question is: how do you handle with ColdFusion simple urls like that, that do not have a .cfm filename in the URL ? Thanks so much !!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:202072 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