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.

My Cookies have crumbled...

Featured Replies

Folks

I am trying to work out why a previously working soultion with cookies is now breaking.

Using MIE 4.51 and NN 4.76 on MacOS 9.0.4, MSIE 5 and NN 4.7 on Win98, and in all cases the cookies set correctly only if the "expires" parameter is set to quite a low figure like less than 44639 minutes (yes I tested it). When set to anything larger, NN looks like it is setting the cookie with a wrong expire date, but actually deletes it. MIE just skips making the cookie at all but deletes it if it's already there. The code to generate the cookie is [FMP-SETCOOKIE: BNname=Field:Name, EXPIRES=14400]

1440 (1 day) sets the cookie.

14400 (10 days) sets the cookie.

144000 (100 days) MSIE *deletes* the cookie!

In fact the maximum I can get to work is 44639 minutes.

Hmmm, it sounds like a server problem dunnit! since all browsers are acting the same. Cookies are working OK from the FMP Forum btw.

FMP 4.0v3 is running on an NT4 box... could that be it? I hope not because I know nuthin about NT.

Please don't say "use tokens." Tokens are great for carrying data between web pages in a single session, but are not persistent between sessions. (In fact this solution uses both tokens and cookies.) I want to store registration info like email address and username, which tokens cannot do.

  • Author

I just transferred the solution from the NT box *back* to a MacOS box and guess what... it works. The cookies expiry time is doing its thing flawlessly.

Does any NT ghru out there know what could be doing this? It seems to me that Web Companion is somehow screwing up the expire time string.

Thanks.

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.