Jump to content

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

Recommended Posts

Posted

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.

Posted

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>

Posted

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?

Posted

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

This topic is 8201 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.