Trouble reading cookies
I have been having problems setting and reading a cookie. I broke it down to a really simple snippet of code:
<cfcookie name="cookie.test"
value="hello"
expires="Never">
<CFIF structkeyexists(cookie,"test")>
Cookie exists
<cfelse>
Cookie does not exist
</cfif>
When I load this page in Chrome, I can use the Dev tools in the browser to see that the cookie was set.
Coldfusion always says the cookie doen't exist (initially, I want to read the value, but I can do that because it claims it does not exist).
So, it seems the server is happy to write the cookie, but not to read it. Is there a server setting somewhere that might need to be altered?
