0 Replies Latest reply on Feb 28, 2007 8:18 AM by CFwitch

    Problem with CFCACHE and cookies

    CFwitch

      I have set a heavy usage page to cache itself
      <cfcache action="cache" timeout="#dateadd("h","-24",Now())#">

      BUT find that when this code is added as the first line of CF code, then the page does not then pick up the user from their locally stored cookies.

      The page <cfinclude template="includes/header.cfm"> - the header code looks to see if the user has a login cookie and displays the header. I have tried the cache command before and after the cficlude. If after then the header appears twice !?!?! once with the users details and the second time with out !!!