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.

Cookies in Frames!

Featured Replies

Hey all,

I'm trying to have Filemaker read/write to a cookie. However, the format files that do this are contained within a frameset, and the cookies aren't being created or read.

When I access these files without frames, it works. In frames, nothing happens. Can anyone give me some advice about this?

Tim.

FM cookies and MSIE is not reliable combination.

I do use cookies send by WC, but generated by JavaScript and that is working even in frames.

HTH

  • Author

thanks anatoli, that is very good to know.

do you think you could give me some sample javascript to do this? i've tried and i'm having the same problems: works when not in frames, doesn't work when in frames.

here's my code:

<script>

var expdate = new Date((new Date()).getTime()+1000*60*10);

document.cookie="Searcher=hi; expires=" + expdate.toGMTString();

</script>

GoLive generated it and it does not really make much sense. I think it is one of the custom actions submitted by user.

But it works.

Do you have the GoLive?

You may need to use something like this:

<script>

var expdate = new Date((new Date()).getTime()+1000*60*10);

parent.document.cookie="Searcher=hi; expires=" + expdate.toGMTString();

</script>


I'm only guessing!

All the best.

Garry

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.