A session is a logical connection between two addressable units in the network for exchanging data. In data transmission, a session is the duration of the connection during which the communication partners exchange data and the transmission mechanisms run.