I'm building chatServer in j2me using Servlet/Jsp.So while doing so i want to maintain a session.
For that i've invoke the following method,
HttpSession session = request.getSession(true);(in server)
But from that same MIDlet when i again send some text it again create new session id.
How could i resolve this issue as i just want to use same MIDlet when sending data to server?
Do i use diffrent Servlet/Jsp( at server side) when i going to send data after my session maintain?
But how could this new Servlet/Jsp( at server side) page get the same session id ?
Is there any other to resolve this ( want use only Session Tracking API)?