October 16, 200124 yr Hi all, I have set a cookie in a form and assigned a value to it. However, I want to later assign a the value stored in the cookie to a field in order to perform a find. But when I put the cookie in the link it doesn't work. I put it like this: -snip-&interaction=[FMP-Cookie: usercode]&-snip- When I click on the link I get the no records found error. If I then go to the filemaker database and select modify last find it pastes [FMP-Cookie: usercode] in the field instead of the value of the cookie. Can someone help me out here? Thanks in advance.
October 16, 200124 yr code: [FMP-Cookie: CookieName , Encoding ] Parameter(s) First parameter: Name of the cookie to return. Second parameter (optional): Encoding. Use one of the following reserved words: Raw - (default) Don't perform any encoding URL - Perform URL encoding Will this help?
October 17, 200124 yr Author quote: Originally posted by Anatoli: code: [FMP-Cookie: CookieName , Encoding ] Parameter(s) First parameter: Name of the cookie to return. Second parameter (optional): Encoding. Use one of the following reserved words: Raw - (default) Don't perform any encoding URL - Perform URL encoding Will this help? Anatoli, I don't know if that will help. I thought I should use maybe RAW encoding, but the thing is that it isn't putting the data, just the text [FM-Cookie: usercode]. I tried it with URL encoding, but that's what happened. I will try it with raw, but I think it will make little difference. Hoping you can help me sort this out. Thanks in advance.
October 22, 200124 yr proton This might not be right but ... depending on the context in which your code snippet is living, the following could work: ...-&interaction={currentcookie:usercode}&... Graeme
Create an account or sign in to comment