Forum Discussion

superhero_36324's avatar
superhero_36324
Icon for Nimbostratus rankNimbostratus
Jun 04, 2018

What is the connection-transaction-request-session-

I would like to know about word as the below -connection -transaction -request -session

 

How to difference ?

 

1 Reply

  • Hi,

     

    So first of explain what is connection and session. let's define first the term Flow.

     

    The definition of a Flow is historically accepted as:

     

    A unidirectional sequence of packets between 2 network endpoints that have the following 7 things in common:

     

    • Source IP address
    • Destination IP address
    • L3 Protocol type
    • Source port
    • Destination port
    • Tos (Type of Service)
    • Input interface

    The terms Connection and Session can have many different meanings depending on the framework that they are used, but it can be said that:

     

    • Connection: A bidirectional Flow (Connection will have two flows - forward and reverse flows.)
    • Session: Many connections between the same source and same destination

       

    • Transaction is nothing but a group of requests in web terminology. transactions only encapsulate requests into a group e.g. a login operation which involves 5 http requests can be group together into a single transaction by me

       

    • Request is formal http request we do as ussual, transaction is considered as a sequence of requests.