I am using cfcookie in an app as follows. Also note that I am not using cflocation anywhere else on the page.
<cfcookie name="LoginID" value="#LoginUser.ID#" expires="NEVER" domain="DPP">
After setting I have the following line to output the cookie:
<cfif isdefined("cookie.loginid")>
cfdump var="#cookie.loginid#">
</cfif>
It works until I close the browser and reload the page. Then it does not seem to notice the presence of the cookie.
I thought since expires=never, then it should keep it in the browsers memory until cookies are deleted.
Any suggestions greatly appreciated. Thanks in advance.
<cfcookie name="LoginID" value="#LoginUser.ID#" expires="NEVER" domain="DPP">
After setting I have the following line to output the cookie:
<cfif isdefined("cookie.loginid")>
cfdump var="#cookie.loginid#">
</cfif>
It works until I close the browser and reload the page. Then it does not seem to notice the presence of the cookie.
I thought since expires=never, then it should keep it in the browsers memory until cookies are deleted.
Any suggestions greatly appreciated. Thanks in advance.