Rainer Posted February 1, 2001 Posted February 1, 2001 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?
Anatoli Posted February 4, 2001 Posted February 4, 2001 Cookies are evil things. Could you use tokens instead? MSIE is not reliable at all with cookies.
Vaughan Posted February 4, 2001 Posted February 4, 2001 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.
Recommended Posts
This topic is 8761 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