Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while maintaining the Session

 
sachin warang
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
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)?

Regards,
Sachin Warang.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic