Thanks Barry, you're a champ, I truly thought I was going nuts! I could not figure out what it was, I could only assume that the onRequestEnd was now being called on a redirect but was pretty sure it never did so before. I think this change really sucks.... Anyway, let's figure out how to code for this now, i.e. if redirect then don't do this in onRequestEnd.....
On Mon, Feb 21, 2011 at 2:42 PM, BarryC <barrychester...@gmail.com> wrote: > I came across this last week, and according to Ben Nadel functionality > has changed in coldfusion 9 (9.0.1 at least anyway) where onRequestEnd > is now called at the end of every request, even a cflocation one. > > http://www.bennadel.com/blog/2050-Changes-In-CFLocation-OnRequestEnd-Behavior-In-ColdFusion-9-s-Application-cfc.htm > > You'd either have to override the onRequestEnd function somewhere, or > add functionality into the onRequestEnd in your main Application.cfc > file. > > > On Feb 21, 4:57 pm, Taco Fleur <taco.fl...@clickfind.com.au> wrote: > > All I know at this stage is; > > - IIS6 never had a problem with the setup > > - IIS7 / CF9 / 64bit getting weird problems > > > > I would think that a onRequestEnd should not execute on a redirect, it > looks > > like this might have changed in CF9? > > > > <cf_tongue_in_cheek> > > I know what you mean, haven't had to use this list for years, so I must > be > > really good :-) > > </cf_tongue_in_cheek> > > > > On Mon, Feb 21, 2011 at 12:24 PM, Kym Kovan <dev-li...@mbcomms.net.au > >wrote: > > > > > > > > > > > > > > > > > > > > > On 21/02/2011 11:46,www.clickfind.com.auwrote: > > > > >> Does anyone have CF9 running on IIS7 Windows 2008 64bit? > > > > > yes. > > > > >> I'm having major weird problems. > > > > > I have to admit a bit of "I've never tried this" but does OnRequestEnd > fire > > > when you do a cflocation type redirect? > > > > >> It looks as though it's got to do with cflocation/redirecting. After a > > >> redirect it seems to just execute the application.cfc and not the > > >> calling template > > > > >> The error occurred in C:\inetpub\wwwroot\production\au_com_clickfind > > >> \Application.cfc: line 760 > > >> Called from C:\inetpub\wwwroot\production\au_com_clickfind > > >> \Application.cfc: line 758 > > >> Called from C:\inetpub\wwwroot\production\au_com_clickfind > > >> \Application.cfc: line 721 > > >> Called from C:\inetpub\wwwroot\production\au_com_clickfind > > >> \Application.cfc: line 711 > > >> The above lines are where the onRequestEnd method is located. > > > > >> My templates set a header file which is then included in the > > >> onRequestend of application.cfc, but that's not set as the calling > > >> template does not seem to be executed. > > > > >> However..... If I dump the CGI variables I see the > > >> CF_TEMPLATE_PATH > > >> C:\inetpub\wwwroot\production\au_com_clickfind\sign- > > >> in.cfm > > > > >> Any help, insight, ideas appreciated... > > >> PS. is there a new list now that is used as this one seems to have > > >> died down a bit! > > > > > <tongue in cheek> > > > We are all still here, we are just so good that we don't need to chat > much > > > :-) > > > </tongue in cheek> > > > > > -- > > > Yours, > > > > > Kym Kovan > > > mbcomms.net.au > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "cfaussie" group. > > > To post to this group, send email to cfaussie@googlegroups.com. > > > To unsubscribe from this group, send email to > > > cfaussie+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/cfaussie?hl=en. > > > > -- > > Kind regards, > > Taco Fleur > > clickfind™ - The new Australian Online Marketing Platform (OMP)http:/ > /www.onlinemarketingplatform.com.auhttp://www.clickfind.com.au > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaussie@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- Kind regards, Taco Fleur clickfind™ - The new Australian Online Marketing Platform (OMP) http://www.onlinemarketingplatform.com.au http://www.clickfind.com.au -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.