Binka Posted May 5, 2005 Posted May 5, 2005 HI, does anybody know how or where I can find information on using the [set-Cookie] tag, Im having a real nightmare with it, any info on this subject would be deeplpy appreciatied. I think I've check every manual going and still i have no joy, thanks in advance
Martin Brändle Posted May 5, 2005 Posted May 5, 2005 There should be a file called CDML Reference.fp5 somewhere in your Applications/FileMaker Pro 6 Folder, or you find it on the FM6 Unlimited Installation CD. Open it in FM6 and look up the FMP-SetCookie tag. Everything is explained there. Also look up the FMP-Cookie tag.
Binka Posted May 5, 2005 Author Posted May 5, 2005 Yeah I found all of that I think It maybe that im using an Iframe to show the content of the FM DB, should this make a difference?
Martin Brändle Posted May 5, 2005 Posted May 5, 2005 Looked up one of the pages where cookies are used. Two things seem important to me: - FMP-SetCookie should be within FMP-Record tags. - there was a bug in FM5 if the field was not displayed before, the cookie was not set (don't know if that still exists in FM6). Example: [FMP-Record] <FONT COLOR="#FFFFFF">[FMP-Field: CookieValue]</FONT> <!-- must be a bug in FM5 web companion: works only, if cookievalue has been displayed before ... --> [FMP-SetCookie: somename=Field: CookieValue, Expires=43200] . . [/FMP-RECORD] The cookie can be removed immediately with: [FMP-SetCookie: somename=Field: CookieValue, Expires=-1]
Recommended Posts
This topic is 7210 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 accountSign in
Already have an account? Sign in here.
Sign In Now