jQuery in Action, 3rd edition
The moose likes Sockets and Internet Protocols and the fly likes Multiple posts over a secure connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Multiple posts over a secure connection" Watch "Multiple posts over a secure connection" New topic

Multiple posts over a secure connection

Vishwas Babu

Joined: Nov 12, 2008
Posts: 8
In am a novice programmer trying to do multiple posts on a https
connection....the following approach does not work as the server is not

able to recognize the client even though i have set session ID, referer
etc..could somebody tell me if there is a flaw in the logic?? (ie is this
how you perform multiple posts)

[ November 17, 2008: Message edited by: Joe Ess ]
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

I edited your post to use code tags. You should be aware that saying "it doesn't work" doesn't help us solve your problem. What doesn't work? What's it supposed to do? What does it do?

[How To Ask Questions On JavaRanch]
Vishwas Babu

Joined: Nov 12, 2008
Posts: 8
Sorry about that.........
The application is supposed to do the following
1)Connect to a remote server and extract info like session ID from the repose sent by the remote server.
2)Using this information, make another post to the same server (in the same session) to carry out some transactions

Step 1 works as expected,however in step 2 the remote server throws an error (it is able to recognize the session,but unable to recognize data sent from the client, probably because the data should be encrypted with some key etc....)my question is how do i do this

ie...Keep the public key,certificates etc sent by the server in the first response and reuse it in the next post

Thanks for your time
[ November 18, 2008: Message edited by: Vishwas Babu ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Multiple posts over a secure connection
It's not a secret anymore!