Networking / Beginners

The Session Layer

Layer 5 allows the user to create a session between the source and destination. One example is a remote login session: you make the session by using telnet or ssh or whatever and this session persists until you log out, when the session is taken down. Sometimes a session can be very short, e.g., just long enough for an email or Web page to be transmitted.

This layer takes care of things like synchronization: if you have a large file to transmit that takes 2 hours and the network or the remote machine crashes after 1 hour, the session layer can reestablish the connection at the point it left off rather than starting again. The session persists even if the transport disappears for a while.

[Previous] [Contents] [Next]