我正在android上开发服务器客户端应用程序,我在应用程序的服务器端使用会话,但有时我在服务器上丢失了会话。Ps:我在服务器上使用https连接。I使用单实例DefaultHttpClient,并将其用于所有http请求。I只使用httpPost方法,我只使用https证书:
schemeRegistry);I schemeRegistry.register(“https”,sslSocketFactory,443);ClientConnectionManager cm =新ThreadSafeClientConnManager(params,在所有http请求之后保