August 16, 200223 yr 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.
August 16, 200223 yr 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
August 19, 200223 yr 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>
August 19, 200223 yr 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?
August 19, 200223 yr 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