X-Received: by 10.224.110.68 with SMTP id m4mr27181qap.2.1363930067061; Thu, 21 Mar 2013 22:27:47 -0700 (PDT) X-Received: by 10.49.95.134 with SMTP id dk6mr18290qeb.10.1363930066989; Thu, 21 Mar 2013 22:27:46 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t2no9623079qal.0!news-out.google.com!k8ni10456qas.0!nntp.google.com!ca1no113670qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Thu, 21 Mar 2013 22:27:46 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=50.14.119.173; posting-account=lPVJQwoAAACjT2AlnY0YSj2LC4j2qtwQ NNTP-Posting-Host: 50.14.119.173 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7a1ba066-5e1d-4f48-9db4-e2768020a7f9@googlegroups.com> Subject: sharing sessions between 2 different requests From: "Aryeh M. Friedman" Injection-Date: Fri, 22 Mar 2013 05:27:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:23055 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 th= e var and not in the passed session ideally I want something like this: <% session=3DSessionUtil.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 JNL= P sessions (I made it so I can pass the orginal session ID now but have no = idea how to rejoin the two sessions)