Skip to main content
May 30, 2006
Question

cfcookie not being setting correctly

  • May 30, 2006
  • 1 reply
  • 231 views
I am running two identical ColdFusion ecommerce carts using Cold Fusion 7 with SQL Server db on Windows 2003 servers. CFCOOKIE is being used to set the customerID variable on both these sites. Site1, users log in and the cookies are set correctly. Site 2, users log in but the cookie are not set. This seems to happen to 30% of the clients and it seems to be only in Internet Explorer. Has anyone else experianced this sort of issue? I have attached the code I am using for these sites.

Any help is greatly appreciated!!
Jennifer


    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    May 31, 2006
    I would not use cfcookie on this page. It is simply a redirecting page. Cfcookie, like cfheader, also modifies the HTML header. So, I would place the cookie code in checkout.cfm instead.