Dialogue control and token management

These are the functions of session layer:

  • Dialogue Control: Keeping track of whose turn it is to transmit.It allows the communication between two processes to take place in either half-duplex (one way at a time) or full-duplex (two ways at a time) 

  • Token management: for preventing two parties from attempting the same critical operation at the same time, token management is used.