![Page 1: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/1.jpg)
Session Layer
OSI Model
![Page 2: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/2.jpg)
Session layer
SenderReceiver
![Page 3: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/3.jpg)
The session layer is responsible for dialog control and synchronization.
![Page 4: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/4.jpg)
LAYER 5: SESSION
The session layer defines how to start, control and end conversations (called sessions) between applications.
This includes the control and management of multiple bi-directional messages using dialogue control.
It also synchronizes dialogue between two hosts' presentation layers and manages their data exchange.
The session layer offers provisions for efficient data transfer.
![Page 5: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/5.jpg)
Basic Functions for the Session Layer Protocols
Creating a connection – session/communication session between an APPLICATION in one computer and another APPLICATION in another computer THREE-WAY-HANDSHAKE: a method widely used to
establish and end connection Sender sends SYN message to request a session to
the receiver Receiver replies by sending ACK message to
acknowledge the SYN message sent by the sender, and SYN message to request a session to the sender
Sender replies by sending ACK message to acknowledge the SYN message sent by the receiver
![Page 6: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/6.jpg)
Basic Functions for the Session Layer Protocols
![Page 7: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/7.jpg)
Basic Functions for the Session Layer Protocols
Managing multiple sessions A computer can establish multiple sessions with
several other computers e.g., session 1: exchanging information over the World Wide
Web with www.yahoo.com session 2: exchanging information over the World Wide Web
with www.google.com session 3: exchanging information over the World Wide Web
with www.espn.com Two computers can also establish multiple sessions,
e.g., function 1: exchanging information over the World Wide Web;
function 2: exchanging information over the FTP; function 3: exchanging information over the email
![Page 8: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/8.jpg)
A computer can establish multiple sessions with several other computers
![Page 9: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/9.jpg)
Two computers can establish multiple sessions
music
news
![Page 10: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/10.jpg)
Basic Functions for the Session Layer Protocols
Ending a session THREE-WAY-HANDSHAKE: a method widely used to
establish and end connection Sender sends FIN message to close a session to the
receiver Receiver replies by sending ACK message to
acknowledge the FIN message sent by the sender, and FIN message to close a session to the sender
Sender replies by sending ACK message to acknowledge the FIN message sent by the receiver
![Page 11: Session Layer OSI Model. Session layer Sender Receiver](https://reader035.vdocuments.mx/reader035/viewer/2022062417/551b013f550346cf5a8b4761/html5/thumbnails/11.jpg)
Session Layer protocols ISO-SP: OSI Session Layer Protocol PPTP, Point-to-Point Tunneling Protocol RPC, Remote Procedure Call Protocol RTCP, Real-time Transport Control Protocol
SQL is a Session layer application that manages multiple queries to the SQL database.