Could someone provide some real world scenerios to understand the role played by session layer in OSI model.

Presentation Layer handles zip&unzip etc. Similarly what does session layer handle?


The session layer isn't (really) used in the real world. You can regard it as a conceptual model or as a sublayer in the real-world application layer but it simply doesn't exist.

Sessions are present in many web applications, but most often the session handling is woven into the application, without any distinct sublayer.

The presentation layer is very similar. Some application-layer protocols have a somewhat well-defined presentation sublayer (e.g. HTML, or RFC 5322 for SMTP/RFC 5321), but there really isn't any standard in practice.

| improve this answer | |
  • Thanks. Further, which layer handles SSL/TLS? application layer or presentation layers? – samshers Jul 31 at 14:00
  • See if this question and answer helps you. – Ron Trunk Jul 31 at 14:08
  • @samshers That's a commonly asked question and there's no definite answer to it. It's in between transport and application layers, but it's neither session nor presentation layer (although some argue for either) – Zac67 Jul 31 at 17:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.