• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ericgui
V2EX  ›  程序员

OSI model 里的 layer 5, session,和 Web App 开发里说的 session 是一回事吗?

  •  
  •   ericgui · Oct 28, 2016 · 2312 views
    This topic created in 3492 days ago, the information mentioned may be changed or developed.
    不好意思,问了这么一个基础问题。主要是查半天没查到。
    4 replies    2016-10-28 14:08:53 +08:00
    enenaaa
        1
    enenaaa  
       Oct 28, 2016 via iPad
    当然不一样, osi 是设计上的概念,现实里的 tcp/ip 并没有这层。网页里的 session 是 tcp 之上的应用层里网页服务端的一个概念。
    lightening
        2
    lightening  
       Oct 28, 2016
    不是。
    SoloCompany
        3
    SoloCompany  
       Oct 28, 2016
    其实用 OSI 模型套 TCP/IP 的话,一般只有 5 层
    你可以认为 HTTP 就是 session 层了(通常认为是应用层)
    JSON 可以看作是 presention 层
    Restful 是应用层
    都是套路 :doge:
    ericgui
        4
    ericgui  
    OP
       Oct 28, 2016
    @enenaaa
    @lightening
    @SoloCompany 谢谢各位!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1233 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:35 · PVG 01:35 · LAX 10:35 · JFK 13:35
    ♥ Do have faith in what you're doing.