Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

  • 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

Posted

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
Posted

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?

Posted

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.

-->

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 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.