ok, well with cfmx, I suppose the whole problem, BIG PROBLEM,
of not being able to set cookies on a page that used cflocation is GONE!

nice.
this below now works perfectly.

thanks.

tony


<cfif step eq 2>

        <cfif isDefined("format") and len(#format#)>
        
        <cfcookie name="Format" value="#format#" expires="NEVER">
        
        </cfif>
        <cfif isDefined("NewViewStyle") and len(#NewViewStyle#)>
        
                <cfcookie name="NewViewStyle" value="#NewViewStyle#"
expires="NEVER">
        
        </cfif>
        <cfif (isDefined("speed1") and isDefined("speed2") and
isDefined("speed3")) and (isNumeric(#speed1#) and isNumeric(#speed2#)
and isNumeric(#speed3#))>               
                <cfcookie name="Speed1" value="#speed1#"
expires="NEVER">
                <cfcookie name="Speed2" value="#speed2#"
expires="NEVER">
                <cfcookie name="Speed3" value="#speed3#"
expires="NEVER">
        </cfif>
                
        <cfif (isDefined("Color1") and isDefined("Color2") and
isDefined("Color3") and isDefined("Color4") and isDefined("Color5") and
isDefined("Color6") and isDefined("Color7") and isDefined("Color8"))>

                
                <cfcookie name="Color1" value="#Color1#"
expires="NEVER">
                <cfcookie name="Color2" value="#Color2#"
expires="NEVER">
                <cfcookie name="Color3" value="#Color3#"
expires="NEVER">
                <cfcookie name="Color4" value="#Color4#"
expires="NEVER">
                <cfcookie name="Color5" value="#Color5#"
expires="NEVER">
                <cfcookie name="Color6" value="#Color6#"
expires="NEVER">
                <cfcookie name="Color7" value="#Color7#"
expires="NEVER">
                <cfcookie name="Color8" value="#Color8#"
expires="NEVER">

        </cfif>         
                
        <cflocation url="reportSettings.cfm">
                
</cfif>                 

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to