chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baptiste Mesta (JIRA)" <>
Subject [jira] [Reopened] (CMIS-366) Cookie are not handled by the client
Date Fri, 06 May 2011 16:17:03 GMT


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:
>             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:

View raw message