Jump to content
Server Maintenance This Week. ×

Cookies


Binka

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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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