hi,
i ran into a problem today where a 'cfparam' value set with the 'cookie' scope was creating a persistent value. i thought that any variables created with 'cfparam' were strictly local and to write to a cookie required use of the 'cfcookie' tag. an example of the code is as follows:
== page1.cfm ==
== page2.cfm ==
i've looked at the cfparam / cfcookie documentation and can find no mention of this! can anyone point me to the correct page of the docs that mention this? i'm using CF4.5.
best wishes,
Paul Rushton
p.rushton@*nospam*.virgin.net
i ran into a problem today where a 'cfparam' value set with the 'cookie' scope was creating a persistent value. i thought that any variables created with 'cfparam' were strictly local and to write to a cookie required use of the 'cfcookie' tag. an example of the code is as follows:
== page1.cfm ==
Code:
<cfparam name="cookie.paul" default="paul">
<a href="page2.cfm">Click Me</a>
Code:
the value of the cookie is: <cfoutput>#cookie.paul#</cfoutput>
i've looked at the cfparam / cfcookie documentation and can find no mention of this! can anyone point me to the correct page of the docs that mention this? i'm using CF4.5.
best wishes,
Paul Rushton
p.rushton@*nospam*.virgin.net