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


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

sharing sessions between 2 different requests

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> (permalink)
Subject sharing sessions between 2 different requests
From "Aryeh M. Friedman" <Aryeh.Friedman@gmail.com>
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

Show key headers only | 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