This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes How to get the (cookie) Session Id into my JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "How to get the (cookie) Session Id into my JNLP" Watch "How to get the (cookie) Session Id into my JNLP" New topic
Author

How to get the (cookie) Session Id into my JNLP

Thomas Randall
Greenhorn

Joined: Nov 30, 2010
Posts: 1
I've set up a file management website that requires authentication, which is working fine. I've now been asked to create a page for the user, once they've logged in, to launch a JNLP. My directions were to use the cookie information/authentication to upload a file into the users workspace.

I have been searching the web, since honestly, I'm a bit at a loss on how to start. From what I've read so far, I think I need to:
1. add the following parameters


2. ? This is where I'm stuck. I don't know how to get the cookie, to get the session and servername, to set those values. Is this a separate page/script, that's different from my page that I'm using to launch the JNLP? I have a page called remote.php, which looks like this:


Thank you for any/all help that you can provide!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get the (cookie) Session Id into my JNLP