It's not a secret anymore!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Https Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Https Question" Watch "Https Question" New topic
Author

Https Question

Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
I did see that from Mark cade book that https is a stateful protocol.
My question is that let's say i am uploading a file using https and the connection is gone and when the connection revoked will it upload the file from where it left before as it can maintain the state using https..??


kumar
SCEA5 P1
deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
This is old thread, see if this answers your Question.

http://www.coderanch.com/t/154752/Architect-Certification-SCEA/certification/https-session-state
Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
Deepak,

Can you answer to my question. i have already looked in to this thread.

thanks
deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
To be honest, i never tired that option in any practical project.

But my gut feeling saying no. I dont know why.

Can anyone else has ever tried file uploading on https ?
Kumar Ala
Ranch Hand

Joined: Apr 30, 2009
Posts: 53
ok deepak... that is the part i am not clear if the answer is no then what is stateful...?

I did see the old thread discussions about https but that doesn't talk about statefulness while file uploading.

Can anyone throw some light for us.... on stateful property of HTTPS for file uploading.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

My question is that let's say i am uploading a file using https and the connection is gone and when the connection revoked will it upload the file from where it left before as it can maintain the state using https..??


I do not see how that is possible. Firstly HTTP over SSL still does not mean the connection carries some sort of state. Each HTTP call is still stateless but secure. So for example, let us say you have an application and it needs authentication in order to maintain state. Using SSL does not mean you no longer need authentication and that SSL can maintain the state for you.

Can you quote a few sentences from the book where it says the connection is stateful ? The encryption mechanism chosen is an example of something that is stateful in the connection. Otherwise I do not see what else can be stateful.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Https Question