April 7, 200124 yr Newbies Could anyone provide HTML of setting a simple cookie using [FMP-SETCOOKIE]? My understanding setting cookies using CDML is easy, but I'm missing the boat somewhere. Thanks. cmaning
April 7, 200124 yr In NN you can set a cookie on page and refer to it on the same page. In MSIE you can set a cookie on page and refer to it on another page. MSIE is not reliable with cookies 100% I've stopped using cookies altogether. I am using only Tokens.
April 8, 200124 yr Author Newbies Thanks for the tips. I am going to apply token usage when I can due to the instability of cookies. But I have a need that necessitates the use of cookies. What is the HTML and CDML for setting a simple cookie for Netscape?
April 8, 200124 yr Syntax example(s) Set a cookie using an HTML file You have selected your favorite color to be [FMP-Field: ColorChoice]. A "cookie" has been set on your local machine so that the next time you visit our site within the next month we will display the latest products that come in the color [FMP-Field: ColorChoice]. [FMP-SetCookie: ColorChoice=Field: ColorChoice, Expires=43200] <!-- After processing it could look like: You have selected your favorite color to be green. A "cookie" has been set on your local machine so that the next time you visit our site within the next month we will display the latest products that come in the color green. -->
Create an account or sign in to comment