Hello,
We have one of our clients working on a .Net application to our 9.7.1 server. About half the time, he gets the "Could not login with cookie" error. Here's a snippet of his code:
v\:* { BEHAVIOR: url(#default#VML)}o\:* { BEHAVIOR: url(#default#VML)}w\:* { BEHAVIOR: url(#default#VML)}.shape { BEHAVIOR: url(#default#VML)}@font-face { font-family: Tahoma;}@font-face { font-family: Calibri;}@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }A:link { mso-style-priority: 99}SPAN.MSOHYPERLINK { mso-style-priority: 99}A:visited { mso-style-priority: 99}SPAN.MSOHYPERLINKFOLLOWED { mso-style-priority: 99}P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}A:link { COLOR: blue; TEXT-DECORATION: underline}SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline}A:visited { COLOR: purple; TEXT-DECORATION: underline}SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline}SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal}SPAN.EmailStyle18 { COLOR: #1f497d; FONT-FAMILY: Calibri; mso-style-type: personal}SPAN.EmailStyle20 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply}DIV.Section1 { page: Section1}
Authentication.AuthenticationClient auth = new Authentication.AuthenticationClient();
token = auth.AuthenticateUser(userName, password);
// This succeeds and a token is returned.
DocumentManagement.OTAuthentication otAuth = new CompassTest.DocumentManagement.OTAuthentication();
otAuth.AuthenticationToken = token;
DocumentManagement.DocumentManagementClient dm = new DocumentManagement.DocumentManagementClient();
DocumentManagement.Node folder = dm.GetNode(otAuth, objectID);
// This throws an exception with the message "Could not login with cookie"
Any idea why this would happen?