proton Posted October 16, 2001 Posted October 16, 2001 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.
Anatoli Posted October 16, 2001 Posted October 16, 2001 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?
proton Posted October 17, 2001 Author Posted October 17, 2001 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.
graemeaustin Posted October 22, 2001 Posted October 22, 2001 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
Recommended Posts
This topic is 8502 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