The Session Layer allows users on different machines to establish active communication sessions between them.
Its main aim is to establish, maintain and synchronize the interaction between communicating systems. The session layer manages and synchronizes the conversation between two different applications. In the Session layer, streams of data are marked and are resynchronized properly, so that the ends of the messages are not cut prematurely and data loss is avoided.
Functions of Session Layer
- Dialog Control: This layer allows two systems to start communication with each other in half-duplex or full-duplex.
- Token Management: This layer prevents two parties from attempting the same critical operation at the same time.
- Synchronization: This layer allows a process to add checkpoints which are considered as synchronization points into the stream of data. Example: If a system is sending a file of 800 pages, adding checkpoints after every 50 pages are recommended. This ensures that the 50-page unit is successfully received and acknowledged. This is beneficial at the time of the crash as if a crash happens at page number 110; there is no need to retransmit a 1 to100 page.
- To allow machines to establish sessions between them in a seamless fashion.
- Provide enhanced services to the user.
- To manage dialog control.
- To provide services such as Token management and Synchronization.
No comments:
Post a Comment