Jump to content

Cookies and the Web Server Connector


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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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