<?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 Cookies and Tickets in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209913#M163043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to everybody. I'm facing the following problem: I'm using the Google Gadget Web Script (aggadget/folder/) to display in a IFrame in a Web application the Space of a user with the same username/password of my webapp's user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a user logs in my webapp, I request a ticket from the login web script, and then I put it on the alf_ticket parameter in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;iframe name="ALF" src="/alfresco/service/aggadget/folder/?alf_ticket=TICKET….&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Fine, working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if the user clicks on an hyperlink (for example the parentDir link) the user is requested for authentication. I know I could Hack the Google Web Script in a way that it rewrites the ticket everywhere, but I wonder if there is a better solution, in particular if I can put the ticket or JSESSION ID in a coockie..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all for reading&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2009 16:00:17 GMT</pubDate>
    <dc:creator>ale_carraro</dc:creator>
    <dc:date>2009-04-08T16:00:17Z</dc:date>
    <item>
      <title>Cookies and Tickets</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209913#M163043</link>
      <description>Hi to everybody. I'm facing the following problem: I'm using the Google Gadget Web Script (aggadget/folder/) to display in a IFrame in a Web application the Space of a user with the same username/password of my webapp's user.When a user logs in my webapp, I request a ticket from the login web script</description>
      <pubDate>Wed, 08 Apr 2009 16:00:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209913#M163043</guid>
      <dc:creator>ale_carraro</dc:creator>
      <dc:date>2009-04-08T16:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cookies and Tickets</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209914#M163044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ticket does not function like a session ID you have to give your ticket in all of your request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when you click on an hyperlink you have to put your ticket on the end of the redirection url for exemple : "/alfresco/d/d/workspace://SpacesStore/fab9c83c-a665-11dd-a0fb-5d1ac543d3b6&lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;?alf_ticket=TICKET&lt;/SPAN&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that can help you,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2009 09:17:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209914#M163044</guid>
      <dc:creator>luxoliver</dc:creator>
      <dc:date>2009-04-10T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cookies and Tickets</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209915#M163045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, I already understood that, but if you look in Google Web Scripts, you can see that there are at least 12 scripts, and each script has potentially many hyperlinks. I was trying to find a more elegant way than to put the ticket in every link&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Btw, if I get a version 'ticket-aware', is anyone interested or it is a customization too much app-oriented? Where should I put it, on the SVN or should I send it to alfresco engineers first?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 19:05:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cookies-and-tickets/m-p/209915#M163045</guid>
      <dc:creator>ale_carraro</dc:creator>
      <dc:date>2009-04-14T19:05:55Z</dc:date>
    </item>
  </channel>
</rss>

