Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNLP with IIS ASPSessionID

 
J. T. Gilkeson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After authenticating on a website, I have a link to an applet that I launch using web start on IIS and I pass in the ASPSessionID as an argument in the JNLP. In the applet I set the connection to use the passed in session id.

connection.setRequestProperty("cookie", sessionID);

The problem is, when I call the ASP through connection.getInputStream(); the ASP does not have access to the authenticated session variables. What am I doing wrong?

Basically I have a website and want to be able to launch applets & applications without having to re-authenticate for each - I want them all to share the same session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic