public void enableCookie(){
  isEnableCookie=true;
  if (mCookieManager == null) {
    mCookieManager=new CookieManager(new PersistentCookieStore(mContext),CookiePolicy.ACCEPT_ALL);
    CookieHandler.setDefault(mCookieManager);
  }
}

public void enableCookie ( ) { isEnableCookie = true ; if ( mCookieManager == null ) { mCookieManager = new CookieManager ( new PersistentCookieStore ( mContext ) , CookiePolicy . ACCEPT_ALL ) ; CookieHandler . setDefault ( mCookieManager ) ; } }
enable cookie , save cookie when response header contains set - cookie add cookie header when sending request
