<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cmis and session cookis in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259590#M212720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed that after clicking around in the Web Quick start application, the alfresco application (/alfresco) has hundreds of active sessions. I assume this is because OpenCmis ignores the session cookie Tomcat tries to set. Surely this is not intended?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some research, I found that the problem is easy to resolve. I added this code to the constructor of GuestSessionFactoryImpl.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;CookieManager cm = new CookieManager(null, CookiePolicy.ACCEPT_ALL);&lt;BR /&gt;CookieHandler.setDefault(cm);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This tells OpenCmis to use the session cookie. However, this is a system wide setting not specific to Open CMIS. Are there any implications doing this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Nov 2010 17:56:27 GMT</pubDate>
    <dc:creator>cstrom</dc:creator>
    <dc:date>2010-11-20T17:56:27Z</dc:date>
    <item>
      <title>Cmis and session cookis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259590#M212720</link>
      <description>I noticed that after clicking around in the Web Quick start application, the alfresco application (/alfresco) has hundreds of active sessions. I assume this is because OpenCmis ignores the session cookie Tomcat tries to set. Surely this is not intended?After some research, I found that the problem i</description>
      <pubDate>Sat, 20 Nov 2010 17:56:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259590#M212720</guid>
      <dc:creator>cstrom</dc:creator>
      <dc:date>2010-11-20T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cmis and session cookis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259591#M212721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for raising this. We'll investigate further.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 09:23:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259591#M212721</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2010-11-22T09:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cmis and session cookis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259592#M212722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The fix that you suggest seems to be the right one - we can't find any adverse effects. This has been committed onto HEAD and will be available in the next nightly build. Many thanks for taking the time to investigate this problem and come up with a fix - much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 16:13:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-and-session-cookis/m-p/259592#M212722</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2010-12-08T16:13:33Z</dc:date>
    </item>
  </channel>
</rss>

