Are you sure Application.cfc will fire for that?  Because
Application.cfm doesn't.

cheers,
barneyb

On Mon, 14 Mar 2005 12:17:27 -0500, Michael Dinowitz
<[EMAIL PROTECTED]> wrote:
> 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.
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198726
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to