Thank Josh,

The code is in onRequestStart and it works, I mean it redirects the user,
but also triggers onError event.
It seems that it was a problem with using cflocation in Application.cfc and
was fixed in 7.01, at least this is what I have read on Ray blog.
Anyway this is the offending code:
    <cfif cgi.server_port neq 443>
            <cfset newURL = "https://"; & cgi.http_host & cgi.path_info>
             <cfif len (cgi.query_string) gt 0>
                   <cfset newURL = newURL & "?" & cgi.query_string>
             </cfif>
             <cflocation url='#newURL#' addtoken="no">
        </cfif>
The line being reported onError is the line with cflocation

Thanks
Victor
On 4/3/07, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> Victor, I use cflocation in Application.cfc and it works as expected.
> However I'm using it within onError itself.  Don't know if that makes a
> difference or not, but it does work at least in the onError method.
>
> Maybe you could post your code - there might be something else going
> astray.
>
> -- Josh
>
> --
> >
> > ---------- Forwarded message ----------
> > From: Victor Moore <[EMAIL PROTECTED]>
> > Date: Apr 2, 2007 12:48 PM
> > Subject: Application.cfc and cflocation
> > To: [email protected]
> >
> > Hi,
> >
> > I thought that the error triggered when using cflocation in
> > Application.cfcwas fixed in version
> > 7.01
> >
> > I'm using 7,0,2,142559  and still have the problem. It was reintroduced
> in
> > 7.02? do I need to apply a specific fix for it?
> >
> > Thank you
> > Victor
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to