Session Layer is one of the Seven Layers of OSI Model. Physical layer, Data Link Layer and Network Layer lack some services such as establishment of a session between communicating systems. This is managed by Session Layer which particularly behaves as a dialog controller between communicating system thus facilitating interaction between them.
Before looking into design issues, here are some of functions of Session Layer:
- Dialog Control –
Session layer allows two systems to enter into a dialog exchange mechanism which can either be full or half-duplex.
- Managing Tokens –
The communicating systems in a network try to perform some critical operations and it is Session Layer
which prevents collisions which might occur while performing these operations which would otherwise result in a loss.
- Synchronization –
Checkpoints are the midway marks that are added after a particular interval during stream of data
transfer. These points are also referred to as synchronization points. The Session layer permits process to add these checkpoints.
For example, suppose a file of 400 pages is being sent over a network, then it is highly beneficial to set up a checkpoint after every 50 pages so that next 50 pages are sent only when previous pages are received and acknowledged.
Design Issues with Session Layer :
- Establish sessions between machines –
The establishment of session between machines is an important service provided by session layer. This session is responsible for creating a dialog between connected machines. The Session Layer provides mechanism for opening, closing and managing a session between end-user application processes, i.e. a semi-permanent dialogue. This session consists of requests and responses that occur between applications.
- Enhanced Services –
Certain services such as checkpoints and manangement of tokens are the key features of session layer and thus it becomes necessary to keep enhancing these features during the layer’s design.
- To help in Token management and Synchronization –
The session layer plays an important role in preventing collision of several critical operation as well as ensuring better data transfer over network by establishing synchronization points at specific intervals. Thus it becomes highly important to ensure proper execution of these services.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Design Issues in Network Layer
- Design Issues in Presentation Layer
- Design Issues in Data Link Layer
- Design Issues in Physical Layer
- Session Layer Messaging Protocols in IoT
- Difference between layer-2 and layer-3 switches
- Difference between Secure Socket Layer (SSL) and Transport Layer Security (TLS)
- Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
- Design Issues of Distributed System
- Responsibilities and Design issues of MAC Protocol
- Session Management in HTTP
- Session Initiation Protocol
- Wireless Media Access Issues in Internet of Things
- Traceroute in Network Layer
- Domain Name System (DNS) in Application Layer
- Protocols in Application Layer
- File Transfer Protocol (FTP) in Application Layer
- Multiplexing and Demultiplexing in Transport Layer
- Transport Layer responsibilities
- Framing in Data Link Layer
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.