You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Baptiste Mesta (JIRA)" <ji...@apache.org> on 2011/05/06 18:17:03 UTC

[jira] [Reopened] (CMIS-366) Cookie are not handled by the client

     [ https://issues.apache.org/jira/browse/CMIS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Baptiste Mesta reopened CMIS-366:
---------------------------------


I reopen this issue because using a CookieManager is not really a solution, let me explain:

If you create a open cmis client session having one user and then you query the cmis server, a cookie is registered for this url.
But if you create a new open cmis client session with an other user and if you connect to the cmis server, you have the same cookie because of the Cookie manager. The server then think that your are in the same session i.e. that your are the same user.

So cookies should be stored in the open cmis client session, this way each open cmis client session will be related to one server session.
With the cookie manager all open cmis client sessions have the same server session.

Am I right or am I using the cookie manager in a wrong way?


> Cookie are not handled by the client
> ------------------------------------
>
>                 Key: CMIS-366
>                 URL: https://issues.apache.org/jira/browse/CMIS-366
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-commons
>    Affects Versions: 0.2.0-incubating
>            Reporter: Baptiste Mesta
>
> The client does not handle cookie.
> Some cmis servers use cookies to handle session. If the http request do not have the cookie, the server is creating new session for each call and that make it having a LOT of sessions if there is a lot of calls.
> I think having the client save cookie in the client session and put it in each request is very important.
> I'll submit a patch soon to fix this. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira