The Session Layer
Electronic Conversations
A session between processes is like a conversation between people. Certain conventions in conversation help avoid confusion and allow for orderly and complete transfer of information between the parties. The conventions include:

|
The parties first agree to talk to one another.
|

|
They (usually) do not talk simultaneously.
|

|
They divide the conversation into parts. ("Let me describe it to you, and you can tell me what you think.")
|

|
They end the conversation in an orderly fashion. ("I will talk to you later." "Okay. Bye.")
|
Similarly, the Session Layer provides higher layers with services that can be used to conduct sessions, including:

|
Establishing a session (separately from a connection)
|

|
Conducting dialogs that prevent both parties from transmitting data simultaneously
|

|
Managing activities by dividing the session into parts
|

|
Ending a session gracefully
|
|