Discussion:
Client API: Compatible with Forms Authentication?
(too old to reply)
Richard Collette
2010-03-25 17:15:02 UTC
Permalink
We are using a third party Asp.NET application which utilizes Sharepoint
Services.

Specifically, the Sharepoint.OpenDocuments.EditDocument2 ActiveX control
method does not send in-memory/session cookies associated with the current
Internet Explorer instance and that is calling the API with JavaScript. As a
result, the Asp.Net session cookie, Asp.Net forms authentication cookie, and
a session cookie associated with Tivoli Access Manager which we use in our
environment are "lost" during the request. The effect is that a redirect to
a login page is returned by the request to get a file using this command.

Is the client API supported in a forms authentication scenario and if so,
how does one get the session cookies to be sent in the request that this
method is sending?

Thank you,
Rich
Louis Saunders
2010-03-26 00:47:01 UTC
Permalink
Hi Richard,

It would be a good start to ask the third party vendor if you have not
already. There will most likely have been others in your situation so they
should be able to help. If not they might be able to investigate further to
help others that might face the issue in the future?

I'll have a quick look around for you to see if I can find an answer too :D


Cheers,

Lou
Post by Richard Collette
We are using a third party Asp.NET application which utilizes Sharepoint
Services.
Specifically, the Sharepoint.OpenDocuments.EditDocument2 ActiveX control
method does not send in-memory/session cookies associated with the current
Internet Explorer instance and that is calling the API with JavaScript. As a
result, the Asp.Net session cookie, Asp.Net forms authentication cookie, and
a session cookie associated with Tivoli Access Manager which we use in our
environment are "lost" during the request. The effect is that a redirect to
a login page is returned by the request to get a file using this command.
Is the client API supported in a forms authentication scenario and if so,
how does one get the session cookies to be sent in the request that this
method is sending?
Thank you,
Rich
Richard Collette
2010-03-26 13:51:01 UTC
Permalink
Thanks Lou.

Are you a Microsoft Employee? I ask because I am an MSDN subscriber and I
am supposed to be guaranteed a response from Microsoft.
Post by Louis Saunders
Hi Richard,
It would be a good start to ask the third party vendor if you have not
already. There will most likely have been others in your situation so they
should be able to help. If not they might be able to investigate further to
help others that might face the issue in the future?
I'll have a quick look around for you to see if I can find an answer too :D
Cheers,
Lou
Post by Richard Collette
We are using a third party Asp.NET application which utilizes Sharepoint
Services.
Specifically, the Sharepoint.OpenDocuments.EditDocument2 ActiveX control
method does not send in-memory/session cookies associated with the current
Internet Explorer instance and that is calling the API with JavaScript. As a
result, the Asp.Net session cookie, Asp.Net forms authentication cookie, and
a session cookie associated with Tivoli Access Manager which we use in our
environment are "lost" during the request. The effect is that a redirect to
a login page is returned by the request to get a file using this command.
Is the client API supported in a forms authentication scenario and if so,
how does one get the session cookies to be sent in the request that this
method is sending?
Thank you,
Rich
Richard Collette
2010-03-29 16:32:02 UTC
Permalink
Hello Microsoft, do you have a response to this question?
Post by Richard Collette
We are using a third party Asp.NET application which utilizes Sharepoint
Services.
Specifically, the Sharepoint.OpenDocuments.EditDocument2 ActiveX control
method does not send in-memory/session cookies associated with the current
Internet Explorer instance and that is calling the API with JavaScript. As a
result, the Asp.Net session cookie, Asp.Net forms authentication cookie, and
a session cookie associated with Tivoli Access Manager which we use in our
environment are "lost" during the request. The effect is that a redirect to
a login page is returned by the request to get a file using this command.
Is the client API supported in a forms authentication scenario and if so,
how does one get the session cookies to be sent in the request that this
method is sending?
Thank you,
Rich
Loading...