<?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 Re: Manage cookie between 2 http requests in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276773#M52759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please try to call a DI job as shown in below scenario?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A sample scenario about handling cookies can be referred from below link.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1VRELvm1ibYLFfM5pqaHZg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1VRELvm1ibYLFfM5pqaHZg&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 15:03:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-02T15:03:21Z</dc:date>
    <item>
      <title>Manage cookie between 2 http requests</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276772#M52758</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a ESB route I'm using cHttp POST to connect to a https server. Then my 2nd request is to post data to that server. I added the certificate in my JVM , it works in a tool like Postman or Insomnia but not in my route because I guess the session cookie we get after the first call is not included in the 2nd one, than I get a 401 forbidden error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the solution to keep cookie from first to second https requests ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Loko&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276772#M52758</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2024-11-16T04:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Manage cookie between 2 http requests</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276773#M52759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please try to call a DI job as shown in below scenario?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/X1kCQaKtALDIocZ0p6QjpA&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A sample scenario about handling cookies can be referred from below link.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1VRELvm1ibYLFfM5pqaHZg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/1VRELvm1ibYLFfM5pqaHZg&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276773#M52759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-02T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Manage cookie between 2 http requests</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276774#M52760</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;We don't want to use jobs. We work with route, and Talend itself says calling a job via cJob is not a good solution because of performance issues.&lt;/P&gt; 
&lt;P&gt;I tried this code just at the moment ans it works (send back the "Set-Cookie" camel header as "cookie", substring to remove the brackets)&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;String cookieString = exchange.getIn().getHeader("Set-Cookie", String.class);
exchange.getIn().setHeader("Cookie", cookieString.substring(1,  cookieString.length()-2) );&lt;/PRE&gt; 
&lt;P&gt;But I wonder if there is any built-in and more robust solution. I believe the route itself should automatically manage cookies by default , as Camel does.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Manage-cookie-between-2-http-requests/m-p/2276774#M52760</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2019-10-02T15:13:56Z</dc:date>
    </item>
  </channel>
</rss>

