Session Layer

The session layer tracks connections, also called sessions. The session layer should keep track of multiple file downloads requested by a particiular FTP application, or multiple telnet connections from a single terminal client, or web page retrievals from a web server.

With TCP/IP this functionality is handled by application software addressing a connection to a remote machine and using a different local port number for each connection.

The session layer performs the following functions:

  1. Communication with the Presentation layer above.
  2. Organize and manage one or more connections per application, between hosts.
  3. Communication with the Transport layer below.

For Example:

Sessions are used to keep track of individual connections to remote servers. Your web browser is an excellent example of the use of sessions.

Your web browser (an application layer object) opens a web page. That page contains text, graphics, Macromedia Flash objects and perhaps a Java applet. The graphics, the Flash object and the Java applet are all stored as separate files on the web server. To access them, a separate download must be started. Your web browser opens a separate session to the web server to download each of the individual files. The session layer keeps track of which packets and data belong to which file and keeps track of where they go (in this case, to your web browser).

In most modern Internet applications, the session, presentation and application layers are usually rolled together inside the application itself, thus, your web browser performs all functions of the session, presentation and application layers.




Home

Application
Presentation
Session
Transport
Network
Data Link
Physical

Function of Layer Protocols Network Components
  • establishes, maintains and ends sessions across the network
  • responsible for name recognition (identification) so only the designated parties can participate in the session
  • provides synchronization services by planning check points in the data stream => if session fails, only data after the most recent checkpoint need be transmitted
  • manages who can transmit data at a certain time and for how long
NetBIOS

Names Pipes

Mail Slots

RPC
Gateway



Created by Uluse©
=P