X-Received: by 10.224.185.201 with SMTP id cp9mr5246159qab.6.1363853272626; Thu, 21 Mar 2013 01:07:52 -0700 (PDT) X-Received: by 10.49.37.39 with SMTP id v7mr196205qej.27.1363853272602; Thu, 21 Mar 2013 01:07:52 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dd2no4862305qab.0!news-out.google.com!k8ni5855qas.0!nntp.google.com!dd2no4862298qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Thu, 21 Mar 2013 01:07:52 -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: <37ce87cf-10ea-4657-a883-eca9e8bab95a@googlegroups.com> Subject: jnlp not sharing sessions between browser and webastart viewer From: "Aryeh M. Friedman" Injection-Date: Thu, 21 Mar 2013 08:07:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:23012 Can anyone tell explain and tell me how to fix the following issue if you g= o to http://www.fnwe.net/fred/client.jsp it will give a link with the sessi= on id in parens but when you click on it the actual webstart code reports a= n other session id... here is all my code: web.xml: jnlp /jnlp.jsp jnlp *.jnlp client.jsp: <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jsp/jstl/core" %> Client (${pageContext.session.id}) jnlp.jsp: =20 <%@page contentType=3D"application/x-java-jnlp-file" %> <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jsp/jstl/core" %> JNLP Demo JNLP Demo ${pageContext.session.id} HelloWorld.java: public class HelloWorld { public static void main(String[] args) { javax.swing.JOptionPane.showMessageDialog(null,"Hello: "+ar= gs[0]); } } Sample screen shot (of getting disagreement on session id) at: http://www.fnwe.net/fred/screen.png