Hi Andy, Our testing has shown that this quote in LiveDocs > CFMX 7 > urlSessionFormat():
"If the client accepts cookies: does not append information " should actually read as this: "If the client accepts cookies: does not append information, IF 'use J2EE session variables' is enabled in the CF Administrator" Using MX7 Ent. on IIS (tested both locally & remotely & HostMySite, w/ diff settings such as firewalls on/off, etc, but all consistent results) - disabling J2EE caused this function to ignore whether or not the client accepts cookies. It appears to be a bug in the cookie check related to urlSessionFormat()... it almost seems that the cookie check is checking for the existence of jsessionid, instead of cfid & cftoken! Hopefully someone can elaborate on this seemingly peculiar behavior. Please see these links: - http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00000660.htm - http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1054504&enterthread=y - http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1055104&enterthread=y I hope this saves some hair pulling!, -Aaron Neff >Thanks for all your replies guy's. Now I think I have found the cause of why >my CFID & CFTOKEN are always in the URL but it also raises another issue. >Oh, and I should have said that I am using Fusebox4.1, sorry! > >In my fusebox.init.cfm file I have the following code; > ><cfset request.self = "index.cfm"> ><cfset request.myself = "#URLSessionFormat( '#request.self'#)> > >It is the ' URLSessionFormat' that is including the CFID & CFTOKEN in the >URL string. The next problem is that this is only supposed to happen if >cookies are disabled on the client machine. In my case cookies are enabled, >I have changed the code to <cfset request.myself = "#request.self#")> and >everything works fine but it would appear that the check for cookies being >active is failing. Can anyone confirm if the following code is causing the >cookie check fail? > ><cfif isdefined("cookie.CFID") AND isdefined("cookie.CFTOKEN")> > <cfset localcfid = cookie.CFID> > <cfset localtoken = cookie.CFTOKEN> > <cfcookie name="CFID" value="#localcfid#"> > <cfcookie name="CFTOKEN" value="#localtoken#"> ></cfif> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218980 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

