Re: URL masking and application.cfc

2005-03-14 Thread Michael Dinowitz
Arr. Another piece of fun code down the drain. :( Thanks Sean. > On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz > <[EMAIL PROTECTED]> wrote: >> > Will application.cfc be executed whenever CF fails to find the >> > messages_4_38946.cfm page? >> Theoretically it should. > > I think you'll fin

Re: URL masking and application.cfc

2005-03-14 Thread Paul Kenney
Just like Application.cfm On Mon, 14 Mar 2005 22:44:17 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote: > On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz > <[EMAIL PROTECTED]> wrote: > > > Will application.cfc be executed whenever CF fails to find the > > > messages_4_38946.cfm page? > > Theo

Re: URL masking and application.cfc

2005-03-14 Thread Sean Corfield
On Mon, 14 Mar 2005 23:42:38 -0500, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > > Will application.cfc be executed whenever CF fails to find the > > messages_4_38946.cfm page? > Theoretically it should. I think you'll find it is not. Application.cfc gets instantiated and executed at the beginnin

Re: URL masking and application.cfc

2005-03-14 Thread Michael Dinowitz
> Will application.cfc be executed whenever CF fails to find the > messages_4_38946.cfm page? Theoretically it should. > Unless you're using a shared server you can accomplish this by specifying > a missing template handler in CF Administrator and doing the work in that > CF page. I've done this

Re: URL masking and application.cfc

2005-03-14 Thread Jim McAtee
- Original Message - From: "Michael Dinowitz" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Monday, March 14, 2005 10:17 AM Subject: URL masking and application.cfc > I've been thinking of a new method of presenting dynamic content, > specifically the li

Re: URL masking and application.cfc

2005-03-14 Thread Spike
FWIW, You should be able to get all of the information you mention below if you are using the FUServlet, but as you say, it's worthwhile to see if what you want to do is viable because it would not require the user to have control of the server and it's fun to play with ideas :-) Spike Michael

RE: URL masking and application.cfc

2005-03-14 Thread Michael Dinowitz
And when has that stopped me from reinventing the wheel? :) The point is to see if it is possible and viable for its own sake and for usage. With FUServlet and other technologies I may not have full control over logging as to where someone came from, what they thought they went to and what the actu

Re: URL masking and application.cfc

2005-03-14 Thread Spike
Dave Watts wrote: >> >> FUServlet >> FriendlyUrlServlet > > > When I saw "FUServlet", something else entirely came to mind. Really? I'm sure a good psychologist would have a thing or two to say about that, but that's kinda OT ;-) > > But anyway, there are lots of tools that will rewr

RE: URL masking and application.cfc

2005-03-14 Thread Dave Watts
> > FUServlet > FriendlyUrlServlet When I saw "FUServlet", something else entirely came to mind. But anyway, there are lots of tools that will rewrite URLs, of course, and I'd strongly recommend that anyone interested in doing so use one of these existing tools like Spike's servlet, or

Re: URL masking and application.cfc

2005-03-14 Thread Spike
This is pretty much exactly what I designed the FriendlyURLServlet to do. I'm in the middle of adding some functionality to that to allow you to specify a redirectHandler in web.xml that will cause all requests that match the servlet mapping to be passed directly to the handler. so if you had a

RE: URL masking and application.cfc

2005-03-14 Thread Michael Dinowitz
I think I'm not making myself clear here. I'm speaking about a CF based url rewriter, not a generic 404 catcher. If an url is written in a specific manner (messages_4_33432) then it'll translate into a valid and expected page. This is designed as a way to format specific pages that normally would n

RE: URL masking and application.cfc

2005-03-14 Thread Taco Fleur
l 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.

Re: URL masking and application.cfc

2005-03-14 Thread Barney Boisvert
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 yo

RE: URL masking and application.cfc

2005-03-14 Thread Burns, John D
dFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 12:17 PM To: CF-Talk Subject: URL masking and application.cfc I've been thinking of a new method of presenting dynamic content,

URL masking and application.cfc

2005-03-14 Thread Michael Dinowitz
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