Hi Richard, do you have Use J2EE session variables checked in the CF administrator?
-- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting & Products http://hackmycf.com - Is your ColdFusion Server Secure? http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10 minutes On Thu, Feb 20, 2014 at 5:41 AM, Richard White <rich...@re-base.net> wrote: > > Thanks Pete, this does seem to work by adding it to the application.cfc. > However, when i first open the browser and go to the site it shows an error > that the session.cfide does not exist. The culprit is in the onSessionStart > method as shown below. If I reload the window then its all fine as I > suppose at this point the session.cfide has been created. Would you know > how to resolve this? > > <cffunction name="onSessionStart"> > <cfcookie name="CFID" value="#session.cfid#" httponly="true" > secure="yes"> > <cfcookie name="CFTOKEN" value="#session.cftoken#" httponly="true" > secure="yes"> > </cffunction> > > > Thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm