I done it ages ago, and I found it is not how the web is supposed to work, a 404 error means page not found (as we all know) and that's what it should be used for, there are all kinds of ramifications when you use it for something else, for example; search engines will not pick your page up, fine if you don't want them listed in the first place. I think you are also opening yourself up for a security attack (not sure about the specifics anymore).
Just my dos pesetas -- Taco Fleur Senior Web Systems Engineer http://www.webassociates.com -----Original Message----- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 March 2005 3:17 AM To: CF-Talk Subject: URL masking and application.cfc I've been thinking of a new method of presenting dynamic content, specifically the list archives. At the moment you get to a single post by passing an ID on the url. Even if this is 'hidden' using SES Urls or the like, your still passing something. My idea is to use the application.cfc to 'catch' a specific type of 404 error and in place of an error, run a page. Take for example this url: http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:38946 In its place I want to use this url: http://www.houseoffusion.com/cf_lists/messages_4_38946.cfm When the onRequestStart or onRequest action is run, I'd like to change the page requested from messages_4_38946.cfm to messages.cfm and turn the rest of the url into the proper variables. Looks totally do-able and I'll be playing with it tonight. The reason I'm mentioning it is to see if anyone else has done this already, anyone finds this interesting and wants to try it and anyone wants to comment on it. I think it's a nice usage of application.cfc, but if others find it to be flawed, I'd like to hear it early on. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:198735 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

