HTTP and HTTPS

Discussion in 'Java' started by Tonik, Oct 20, 2005.

  1. Tonik

    Tonik Guest

    Hello,

    Does can anyone explain why HTTP a stateless protocol and HTTPS is a
    stateful protol. In my understanding they both make stateless requests
    to the server. Is it that HTTPS only maintains a state for the ssl
    communication but it cant be used in the web applications in any way.

    Regards,

    Toni Karhu
    http://www.tonik.net
     
    Tonik, Oct 20, 2005
    #1
    1. Advertisements

  2. Tonik

    Roedy Green Guest

    On 20 Oct 2005 06:17:04 -0700, "Tonik" <> wrote or
    quoted :

    >Does can anyone explain why HTTP a stateless protocol and HTTPS is a
    >stateful protol.


    One piece of state for https is the key which presumably is not
    renegotiated at every transaction. (Is it?). HTTP piggybacks on
    TCP/IP which does have state.
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Again taking new Java programming contracts.
     
    Roedy Green, Oct 21, 2005
    #2
    1. Advertisements

  3. Tonik wrote:
    >
    > Does can anyone explain why HTTP a stateless protocol and HTTPS is a
    > stateful protol. In my understanding they both make stateless requests
    > to the server. Is it that HTTPS only maintains a state for the ssl
    > communication but it cant be used in the web applications in any way.


    HTTP opens a new connection for each request. HTTPS reuses the same
    connection. At least that used to be the case many years ago. These days
    it's just one author copying another, possibly with some explanation
    worked backwards. The distinction is irrelevant.

    Tom Hawtin
    --
    Unemployed English Java programmer
    http://jroller.com/page/tackline/
     
    Thomas Hawtin, Oct 21, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren Clark

    asp.net and chaning betten http and https

    Darren Clark, Aug 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    757
    Patrice
    Aug 20, 2004
  2. =?Utf-8?B?SlN0ZW1wZXI=?=

    session state between http and https

    =?Utf-8?B?SlN0ZW1wZXI=?=, Feb 2, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    557
  3. Alfredo Barrientos
    Replies:
    0
    Views:
    654
    Alfredo Barrientos
    Aug 31, 2005
  4. Fenno

    HTTP to HTTPS and back again!

    Fenno, Dec 21, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    485
    Asela Gunawardena
    Dec 22, 2005
  5. Mark Rae

    Switching from http to https and back

    Mark Rae, Jan 5, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    5,231
    Mark Rae
    Jan 6, 2006
  6. Axel
    Replies:
    8
    Views:
    2,108
    Adrienne Boswell
    Apr 27, 2009
  7. jotto
    Replies:
    4
    Views:
    723
    jotto
    Oct 2, 2006
  8. Naveen Dhanuka
    Replies:
    1
    Views:
    481
Loading...