1 Reply Latest reply on Sep 6, 2006 10:58 AM by brian.stansberry

    Session Affinity with an Applet

    pharvener

      All I have an application which uses an applet interacting with a servlet to download content. The application runs in a distribute environment and depends on session affinity. Unfortunately when the applet executes, it first creates a new connection. Our load balancer interprets this as a new user and sends the request to the next /wrong Application Server. Session affinity is violated the user conversation state is missing.

      Is there anyway to force the applet to use the existing session?

        • 1. Re: Session Affinity with an Applet
          brian.stansberry

          There is a way; sorry I can't tell you what it is as it's been several years since I did it and I don't remember. IIRC Javascript can interact with the browser's JVM to pass the session id. I believe I figured from the O'Reilly Javascript book.