Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • 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

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.

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.