• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTPS is Stateful or StateLess?

 
Srinath Vangari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since HTTP is a stateless protocol, so HTTPS should be stateless.This is my understanding.
But one of the mock test is showing as incorrect answer for selecting "HTTPS is stateless".
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are correct. HTTPS just means HTTP over TLS. Since HTTP is stateless, HTTPS is stateless. If the argument is made that HTTPS is not stateless because TLS is not stateless, then you could make the counter-argument that HTTP is also not stateless because it's built on top of TCP, which is not stateless.

So either HTTP and HTTPS are both stateless, or neither of them are.
 
K. Tsang
Bartender
Posts: 3583
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP and HTTPS are both stateless. HTTPS is just HTTP over SSL/TLS

To achieve stateful, you will need to use HTTP session which has nothing to with the "protocol"

Are you reading the question correctly? Which mock test is it? Posting the exact question and answer choice can clear what the question is really asking.
 
Srinath Vangari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am referring to the question asked in attached screen.
Please let me know, if i am missing anything here.
Mock.png
[Thumbnail for Mock.png]
 
K. Tsang
Bartender
Posts: 3583
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup option B is correct in this particular question.

 
Srinath Vangari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ..This Helps
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whoever wrote the question probably confused themselves because there's a double negative in there: "which is NOT true" and "stateless".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic