Newbies cmaning Posted April 7, 2001 Newbies Posted April 7, 2001 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
Anatoli Posted April 7, 2001 Posted April 7, 2001 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.
Newbies cmaning Posted April 8, 2001 Author Newbies Posted April 8, 2001 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?
Anatoli Posted April 8, 2001 Posted April 8, 2001 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. -->
Recommended Posts
This topic is 8699 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now