title: Python + Django + Cordova: Reading set-cookie header in Android
body: <p>I'm using <code>Python2.7</code> And <code>Django==1.7</code> on the ServerSide and <code>Cordova==5.3.3</code> for Mobile ClientSide.</p>
  
  <p>In ClientSide, I've used cookie-base authentication in iOS properly but seemingly Android doesn't support cookies for <code>Cordova</code> based on the documentation.</p>
  
  <p>As you know i can access user's sessionId via cookie in django as below:</p>
  
  <pre><code>def login(self, request, **kwargs):
      user = request.user
  </code></pre>
  
  <p>But in this case maybe i need to access cookie manually because of <code>Cordova</code> limitation. </p>
  
  <p>So my questions are:</p>
  
  <ul>
  <li>Is the any way to access cookie header in <code>Cordova-Android</code>?</li>
  <li>If there is not, Whats the best way to get sessionId instead of set-cookie header? custom header or get parameters?</li>
  <li>And finally whats the best way to get and validate sessionId manually from session_table of django for current user?</li>
  </ul>
  
  <p>Thanks.</p>