How to uncheck 'Disable updating ColdFusion internal cookies' programmatically

897 views Asked by At

I have an application which is on a shared server. I am facing issues while setting the cookie. Here is the code:

<cfcookie name="CFID" value="#cfid_local#">
<cfcookie name="CFTOKEN" value="#cftoken_local#">

The error which I am getting is:

Failed to set cookie. ColdFusion is unable to add the cookie you specified to the response.

To fix this issue, I need to Navigate to the "Memory Variables" page under the "Server Settings" menu. Un-Check "Disable updating ColdFusion internal cookies using ColdFusion tags/functions." and select the "Submit Changes" button.

But as my application is on shared server. This change cannot be made. Can any one let me know that how can I fix this programmatically?

0

There are 0 answers