Jump to content

Setting Cookies


This topic is 8497 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

  • 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?

Link to comment
Share on other sites

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.

-->

Link to comment
Share on other sites

This topic is 8497 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.