February 1, 200124 yr Setting cookies and reading them out is very easy with CDML, but not if I do the same thru Web Server Connector! I have CDML set three Cookies on a page. When I'm loading that page directly from FileMaker Custom Web Publishing, everything works fine. Then I copy the URL string and change the domain part to that of the WebStar Server, which means that they are handled by Web Server Connector. Everything works fine, too. But two of my three cookies are kicked out. The query is the same (except of the domain part), the CDML page is the same, and the cookies are all of the same structure. Is this a known bug, or am I doing something wrong?
February 4, 200124 yr Cookies are evil things. Could you use tokens instead? MSIE is not reliable at all with cookies.
February 4, 200124 yr When the cookie is originally genereated the path to the server and server name is recorded in the cookie. The cookie will only work with that stored pather/server. Note that the path server can be hard-coded into the CDML [FMP-SetCookie] tag. Check and see if that's been done. Eihter change it to the new server or delete the string altogether since the default is the current server/path anyway. Best thing is to regenerate the cookie again on the browser.
Create an account or sign in to comment