Session Layer – Layer 5

This layer is responsible for the establishment of connection, maintenance of sessions, and authentication, and also ensures security.

Functions of the Session Layer

  • Session establishment, maintenance, and termination: The layer allows the two processes to establish, use, and terminate a connection.
  • Synchronization: This layer allows a process to add checkpoints that are considered synchronization points in the data. These synchronization points help to identify the error so that the data is re-synchronized properly, and ends of the messages are not cut prematurely and data loss is avoided.
  • Dialog Controller: The session layer allows two systems to start communication with each other in half-duplex or full-duplex.

Note:

  1. All the below 3 layers(including Session Layer) are integrated as a single layer in the TCP/IP model as the “Application Layer”. 
  2. Implementation of these 3 layers is done by the network application itself. These are also known as Upper Layers or Software Layers. 
  3. Device or Protocol Use :  NetBIOS, PPTP.

For example:-

Let us consider a scenario where a user wants to send a message through some Messenger application running in their browser. The “Messenger” here acts as the application layer which provides the user with an interface to create the data. This message or so-called Data is compressed, optionally encrypted (if the data is sensitive), and converted into bits (0’s and 1’s) so that it can be transmitted.  

Communication in Session Layer

What is OSI Model? – Layers of OSI Model

OSI stands for Open Systems Interconnection, where open stands to say non-proprietary. It is a 7-layer architecture with each layer having specific functionality to perform. All these 7 layers work collaboratively to transmit the data from one person to another across the globe. The OSI reference model was developed by ISO – ‘International Organization for Standardization‘, in the year 1984.

The OSI model provides a theoretical foundation for understanding network communication. However, it is usually not directly implemented in its entirety in real-world networking hardware or software. Instead, specific protocols and technologies are often designed based on the principles outlined in the OSI model to facilitate efficient data transmission and networking operations.

  • What is OSI Model?
  • What are the 7 layers of the OSI Model?
  • Physical Layer – Layer 1
  • Data Link Layer (DLL) – Layer 2
  • Network Layer – Layer 3
  • Transport Layer – Layer 4
  • Session Layer – Layer 5
  • Presentation Layer – Layer 6
  • Application Layer – Layer 7
  • What is the Flow of Data in OSI Model?
  • Advantages of OSI Model
  • OSI Model in a Nutshell
  • OSI vs TCP/IP Model

Similar Reads

What is OSI Model?

The OSI model, created in 1984 by ISO, is a reference framework that explains the process of transmitting data between computers. It is divided into seven layers that work together to carry out specialised network functions, allowing for a more systematic approach to networking....

What are the 7 layers of the OSI Model?

The OSI model consists of seven abstraction layers arranged in a top-down order:...

Physical Layer – Layer 1

The lowest layer of the OSI reference model is the physical layer. It is responsible for the actual physical connection between the devices. The physical layer contains information in the form of bits. It is responsible for transmitting individual bits from one node to the next. When receiving data, this layer will get the signal received and convert it into 0s and 1s and send them to the Data Link layer, which will put the frame back together....

Data Link Layer (DLL) – Layer 2

The data link layer is responsible for the node-to-node delivery of the message. The main function of this layer is to make sure data transfer is error-free from one node to another, over the physical layer. When a packet arrives in a network, it is the responsibility of the DLL to transmit it to the Host using its MAC address. The Data Link Layer is divided into two sublayers:...

Network Layer – Layer 3

The network layer works for the transmission of data from one host to the other located in different networks. It also takes care of packet routing i.e. selection of the shortest path to transmit the packet, from the number of routes available. The sender & receiver’s IP addresses are placed in the header by the network layer....

Transport Layer – Layer 4

The transport layer provides services to the application layer and takes services from the network layer. The data in the transport layer is referred to as Segments. It is responsible for the end-to-end delivery of the complete message. The transport layer also provides the acknowledgment of the successful data transmission and re-transmits the data if an error is found....

Session Layer – Layer 5

This layer is responsible for the establishment of connection, maintenance of sessions, and authentication, and also ensures security....

Presentation Layer – Layer 6

The presentation layer is also called the Translation layer. The data from the application layer is extracted here and manipulated as per the required format to transmit over the network....

Application Layer – Layer 7

At the very top of the OSI Reference Model stack of layers, we find the Application layer which is implemented by the network applications. These applications produce the data to be transferred over the network. This layer also serves as a window for the application services to access the network and for displaying the received information to the user....

What is the Flow of Data in OSI Model?

When we transfer information from one device to another, it travels through 7 layers of OSI model. First data travels down through 7 layers from the sender’s end and then climbs back 7 layers on the receiver’s end....

Advantages of OSI Model

The OSI Model defines the communication of a computing system into 7 different layers. Its advantages include:...

OSI Model – Layer architecture

Layer No Layer Name Responsibility Information Form (Data Unit) Device or Protocol 7 Application Layer Helps in identifying the client and synchronizing communication. Message SMTP 6 Presentation Layer Data from the application layer is extracted and manipulated in the required format for transmission. Message JPEG, MPEG, GIF 5 Session Layer Establishes Connection, Maintenance, Ensures Authentication and Ensures security. Message (or encrypted message) Gateway 4 Transport Layer Take Service from Network Layer and provide it to the Application Layer. Segment Firewall 3 Network Layer Transmission of data from one host to another, located in different networks. Packet Router 2 Data Link Layer Node to Node Delivery of Message. Frame Switch, Bridge 1 Physical Layer Establishing Physical Connections between Devices. Bits Hub, Repeater, Modem, Cables...

OSI vs TCP/IP Model

Some key differences between the OSI model and the TCP/IP Model are:...

What is OSI Model? – FAQs

Is OSI layer still used?...