title: Handling Session Cookie in Android Volley
body: <p>For those unfamilar with Volley its a networking library and,it will switch its http request client from HttpUrlConnection or HttpClient depending on android version, so one thing I need to know is how to add cookie support to each of these client types. How do I opt in to session management for both types of clients?</p>
  
  <p>I have seen this solution:
  <a href="https://stackoverflow.com/questions/16680701/using-cookies-with-android-volley-library">Using cookies with Android volley library</a></p>
  
  <p>which is a good step in the right direction.  Has anyone found a way to push this logic a level down into the library without using preferences? or references from Volley into the application.    I don't mind rewriting the Volley helper class to apply some support for this but not sure if both types of http clients support cookies and what exactly I would need to do to turn on cookie support?</p>
  
  <p>also is there a way to use Volley with CookieManager perhaps?</p>