Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Continuation of an applet session to browser

 
Anne Forumer
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet communicating with an application on websphere. A user logs in on the applet and a session is created. Each subsequent interaction checks for this session validity.

One of the buttons, B, on applet "open"s an HTML page which, in turn, calls a JSP on the application server. I don't know how, but proper sessionid, actually "sesessionid" is sent to the server and JSP is correctly processed and processed HTML page, let us call it P, returned.

However, here is my problem: If I close the page P and press button B again, the application server sees it as a different session and thus does not allow the user through.

Is there a way to not lose, and use, the original session no matter how many times button B is pressed and page P is closed?

Please let me know if anybody needs further clarification.

Thanks
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!