I have a j2me applicaiton and it is working fine in other java-enabled phone. After I installed my applicaiton into Nokia 3650, it is working, but some time, it lost session from request when it connect to server via http connection. This application will call/connect to server from time to time. My coding for connection is below:
http = (HttpConnection) Connector.open(url, Connector.READ_WRITE);
"Profile/MIDP-1.0 Configuration/CLDC-1.0");
http.setRequestProperty("Content-Language", "en-CA");
http.setRequestProperty("Connection", "Keep-Alive");
is = http.openInputStream();
int ch;
StringBuffer response = new StringBuffer();
while ( (ch = is.read()) != -1) {
response.append( (char) ch);

In the server side:
inside the servlet:
HttpSession session = request.getSession();

I save lots of datas inside the session. Only first time, session.isNew() is true, after then, it should be false. Most of time,it is working and it can get session from request. But some time, it can't get session from request. it get session.isNew()=true, it lost the session and it lost datas, it got error. Why it randomly lost session ?? My I do some thing wrong ?? or do I need to config Nokia 3650 for http connection ?? Do I need to use some special skill/component ? like http over wap ?? Any idea ?? thanks