Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23055

sharing sessions between 2 different requests

Newsgroups comp.lang.java.programmer
Date 2013-03-21 22:27 -0700
Message-ID <7a1ba066-5e1d-4f48-9db4-e2768020a7f9@googlegroups.com> (permalink)
Subject sharing sessions between 2 different requests
From "Aryeh M. Friedman" <Aryeh.Friedman@gmail.com>

Show all headers | View raw


I have a situation where a servlet is passed an different session then the one it should be using (the one it should be using is passed as a var "id") how do I make it so the session the servlet (or jsp) uses is the one in the var and not in the passed session ideally I want something like this:

<%
   session=SessionUtil.findSession(id);
%>

where SessionUtil is either prexisting or something I make my self.

Just in case people want to know the background see the other thread on JNLP sessions (I made it so I can pass the orginal session ID now but have no idea how to rejoin the two sessions)

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

sharing sessions between 2 different requests "Aryeh M. Friedman" <Aryeh.Friedman@gmail.com> - 2013-03-21 22:27 -0700
  Re: sharing sessions between 2 different requests Arne Vajhøj <arne@vajhoej.dk> - 2013-03-22 18:51 -0400
  Re: sharing sessions between 2 different requests Roedy Green <see_website@mindprod.com.invalid> - 2013-03-22 18:27 -0700

csiph-web