• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Reloading page from embedded applet disables session

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,
I have an embedded applet that does a lot of funky stuff before reloading the very page it resides in:
getAppletContext().showDocument(new URL(www.same-page.com?id="longnumber"));
This disables the applet, and executes some other JSP code, including changing some session parameters. I want to be able to press the back button to restart the applet, albeit WITH the changes in the session, but it doesnt work.
Am I right in thinking that by calling the new URL from the applet, I'm actually starting a new session, and pressing 'back' goes back to the old one?
Whats happening?
    Bookmark Topic Watch Topic
  • New Topic