• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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: 13981
315
  • 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: 13981
315
  • 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".
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic