×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    7

    HTTPSession issues

    On "some" phone emulators, I keep losing my session.

    This line in my JSP (client) gives me:
    request.getSession(true).getId()=RDWASXCCT2KYVQLHGFOZXEQ

    Then, this is what I get in the servlet (server):
    request.getSession(true).getId()=JKM3XGNVM42SDOXNLQ1XP5I

    So, I can never maintian information in the session. Does anyone have any ideas on this. Is it a bad idea for me to be using the HTTPSession to begin w/?

    Thanks, Gerry

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1
    Use request.getSession(false) so that it will not create the new session very time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×