• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTPS is Stateful or StateLess?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks ..This Helps
 
Stephan van Hulst
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
reply
    Bookmark Topic Watch Topic
  • New Topic