aspose file tools*
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
Author

Multiple posts over a secure connection

Vishwas Babu
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8903
    
    8

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?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Vishwas Babu
Greenhorn

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