util-notes
latest

Contents:

  • 使用ReadtheDocs托管文档
  • Sphinx
  • Fiddler
  • SSH
  • Git
  • Design Pattern
  • My First Miner
  • wireshark
  • 系统设计
  • Ubuntu
  • ubuntu下安装程序的三种方法
  • Linux中的库
  • 多显卡ubuntu
  • (web)Restful
  • Drupal Restful
  • (web)Session&Cookie
    • Cookie
    • Session
  • (web)数字签名和数字证书
  • (web)API
  • (web)Nginx
  • 微服务
  • (DOCKER)docker安装
  • (centos)OS组件安装
  • 配置后台运行程序
util-notes
  • Docs »
  • (web)Session&Cookie
  • Edit on GitHub

(web)Session&Cookie¶

Cookie¶

../_images/Cookie_Session001.png

由上图可得,

  1. cookie使用两个http header扩展了http。
  • server端响应中带的Set-Cookie头
  • client端请求中带的Cookie头

Session¶

  • Session由服务器发起,服务器向客户端浏览器发送一个名为JSESSIONID的Cookie,它的值为该Session的id
Next Previous

© Copyright 2018, yiwen Revision e018a2dd.

Built with Sphinx using a theme provided by Read the Docs.