Copy link to clipboard
Running CF 7 on Windows 2003 Server with IIS 6. Server is named usileng01.xyz.com. It has one IP address 188.8.131.52 and three web sites defined in IIS. All three are using the server's IP address on port 80.
1) Default Web Site - Home directory in IIS points to C:\Inetpub\wwwroot
2) itrac.web.xyz.com - has "Host header value" in IIS set to itrac.web.xyz.com. Home directory points to E:\iTracDocumentRoot. itrac.web.xyz.com is a DNS alias to usileng01.xyz.com.
3) itdata.web.xyz.com - has "Host header value" in IIS set to itdata.web.xyz.com. Home directory points to E:\iTracDocumentRoot\IT. itdata.web.xyz.com is a DNS alias to usileng01.xyz.com
All three sites have anonymous access disabled and "Authenticated access" in IIS set to "Integrated Windows authentication" since PCs are logged into the AD domain.
When accessing the web server via a DNS name (either usileng01.xyz.com, itrac.web.xyz.com, or itdata.web.xyz.com), the CFID and JSESSIONID change on every access, so I'm unable to see the cookies. I can set cookies fine and they appear in the PC's cookie file.
However, when accessing the web site via the server's IP address (e.g., http://184.108.40.206) the CFID and JSESSIONID remain the same and I can see the cookies.
I have tried all combinations of CFAPPLICATION's options sessionManagement, setDomainCookies, clientManagement, setClientCookies, and clientStorage. Other than changing what's in the cookies, session, and client variables, nothing has worked.
Any idea why I can access cookies when using IP address but not DNS name? And how to get them working with DNS names?
Have something to add?