首页 > 其他 > 详细

The Path Attribute

时间:2017-01-06 18:28:26      阅读:211      评论:0      收藏:0      [点我收藏+]

https://tools.ietf.org/html/rfc6265#section-5.1.1

4.1.2.4. The Path Attribute


   The scope of each cookie is limited to a set of paths, controlled by
   the Path attribute.  If the server omits the Path attribute, the user
   agent will use the "directory" of the request-uri‘s path component as
   the default value.  (See Section 5.1.4 for more details.)

   The user agent will include the cookie in an HTTP request only if the
   path portion of the request-uri matches (or is a subdirectory of) the
   cookie‘s Path attribute, where the %x2F ("/") character is
   interpreted as a directory separator.

   Although seemingly useful for isolating cookies between different
   paths within a given host, the Path attribute cannot be relied upon
   for security (see Section 8).

The Path Attribute

原文:http://www.cnblogs.com/yuanjiangw/p/6256839.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!