title: Cookie not saved in sencha touch 2 application
body: <p>Upon receiving a server response with valid "set-cookie" value in my response header, application does not save the cookie. </p>
  
  <p>Rails server on heroku is setup for CORS (cross domain ajax requests). Access-Control-Allow-Credentials = True and methods = POST, GET.</p>
  
  <p>Login request, for which the response contains set-cookie, is as follows:</p>
  
  <pre><code> Ext.Ajax.request({
              url: 'http://myurl/log_user_in.json',
              params: { username: user, password: pass, app_id: id },
              method: "POST" });
  </code></pre>
  
  <p>Need help on why the application does not save the cookie. ie. executing 
  <code>document.cookie</code> , after getting "set-cookie" results in <code>document.cookie = ''</code></p>
  
  <p>Thanks for your help.</p>