What is the difference between a Session and a Cookie?

后端 未结 8 2145

What is the difference between a Session and a Cookie?

What circumstances should each be used?

8条回答
  •  攒了一身酷
    2020-12-01 10:48

    Session is a server side object, which transfer or access data between page call.
    Cookies is a object which is client side/client machine which store some text information of browser and server.

提交回复
热议问题