title: Intercepting response in dojo to read cookies
body: <p>I have a filter on server side which adds a cookie <code>myCookie</code> to every response. </p>
  
  <p>I am intercepting the response in a dojo widget as below:</p>
  
  <pre><code>define("mySolution/ServerCookieWidget", [
  "dojo/request/notify",
  "dojo/cookie"
  ], function (notify, cookie) {
  notify("load", function(response) {
       var cookieRead = cookie("myCookie");
       console.log('Cookie read is: ', cookieRead);
      });
  });
  </code></pre>
  
  <p>I want to use the value read to do some calculation on client side.</p>
  
  <p>How do I share the read cookie value with other widget?</p>
  
  <p>I am new to dojo and thus not aware of the syntax and not able to find any example for my scenario.</p>