Code example for CookieStore

Methods: clear

0
	 */ 
	public static void clearCookies() { 
		if (httpClient != null) {
			final CookieStore cs = httpClient.getCookieStore();
			if (cs != null) {
				cs.clear();
			} 
		} 
	} 
 
	/** 
	 * Get a fresh HTTP-Connection. 
	 *  
	 * @param url 
	 *            URL to open 
	 * @param cookies 
	 *            cookies to transmit 
	 * @param postData 
	 *            post data 
	 * @param userAgent 
	 *            user agent