File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes JNLP with IIS ASPSessionID Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "JNLP with IIS ASPSessionID" Watch "JNLP with IIS ASPSessionID" New topic

JNLP with IIS ASPSessionID

J. T. Gilkeson

Joined: Dec 10, 2007
Posts: 1
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.
I agree. Here's the link:
subject: JNLP with IIS ASPSessionID
It's not a secret anymore!