Code example for CookieStore

Methods: getCookies

0
		return client;
	} 
	 
	public String getSession()
	{ 
		List<Cookie> a = cookieStore.getCookies();
		Cookie b = a.get(0);
		return b.getValue();
	} 
 
//*************************************************************************************** 
//	 
//*************************************************************************************** 
	private String postPage(String URL, List<NameValuePair> nvps) throws Exception 
	{ 
		post = new HttpPost(URL);
		if (nvps != null)
			post.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));
		 
		response = client.execute(post);
		entity = response.getEntity();