w服务器要知道和谁在交谈。

HTTP The Definitive Guide

Web servers may talk to thousands of different clients simultaneously. These servers often need to
keep track of who they are talking to, rather than treating all requests as coming from anonymous
clients. This chapter discusses some of the technologies that servers can use to identify who they are
talking to.

HTTP began its life as an anonymous, stateless, request/response protocol. A request came from a
client, was processed by the server, and a response was sent back to the client. Little information was
available to the web server to determine what user sent the request or to keep track of a sequence of
requests from the visiting user.
Modern web sites want to provide a personal touch. They want to know more about users on the other
ends of the connections and be able to keep track of those users as they browse. Popular online
shopping sites like Amazon.com personalize their sites for you in several ways:

Personal greetings

Welcome messages and page contents are generated specially for the user, to make the
shopping experience feel more personal.

Targeted recommendations

By learning about the interests of the customer, stores can suggest products that they believe
the customer will appreciate. Stores can also run birthday specials near customers' birthdays
and other significant days.

Administrative information on file
Online shoppers hate having to fill in cumbersome address and credit card forms over and
over again. Some sites store these administrative details in a database. Once they identify you,
they can use the administrative information on file, making the shopping experience much
more convenient.

Session tracking

HTTP transactions are stateless. Each request/response happens in isolation. Many web sites
want to build up incremental state as you interact with the site (for example, filling an online
shopping cart). To do this, web sites need a way to distinguish HTTP transactions from
different users.

This chapter summarizes a few of the techniques used to identify users in HTTP. HTTP itself was not
born with a rich set of identification features. The early web-site designers (practical folks that they
were) built their own technologies to identify users. Each technique has its strengths and weaknesses.

In this chapter, we'll discuss the following mechanisms to identify users:

HTTP headers that carry information about user identity

Client IP address tracking, to identify users by their IP addresses

User login, using authentication to identify users

Fat URLs, a technique for embedding identity in URLs

Cookies, a powerful but efficient technique for maintaining persistent identity

The Personal Touch Client Identification 个性化接触 客户识别的更多相关文章

  1. Technical analysis of client identification mechanisms

    http://www.chromium.org/Home/chromium-security/client-identification-mechanisms Chromium‎ > ‎Chro ...

  2. Fat URLs Client Identification

    w在每个URL后面都附加一个用户特有的标识码. HTTP The Definitive Guide Some web sites keep track of user identity by gene ...

  3. Cookies, Security, and Privacy Client Identification

    w HTTP The Definitive Guide Cookies themselves are not believed to be a tremendous security risk, be ...

  4. Cookies and Session Tracking Client Identification cookie与会话跟踪 客户端识别

    w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to ...

  5. Client IP Address Client Identification

    HTTP The Definitive Guide Early web pioneers tried using the IP address of the client as a form of i ...

  6. Cookies and Caching Client Identification

    w HTTP The Definitive Guide 11.6.9 Cookies and Caching You have to be careful when caching documents ...

  7. combined with the Referer header, to potentially build an exhaustive data set of user profiles and browsing habits Client Identification

    w https://www.zhihu.com/question/35307626 w 0-客户端(附加用户信息)首次请求服务端--->服务端生成session(有唯一性).session_id ...

  8. Cookies Client Identification

    HTTP The Definitive Guide Cookies are the best current way to identify users and allow persistent se ...

  9. HTTP Headers Client Identification

    用户信息通过HTTP头部承载:不能实现用户唯一性标识. w HTTP The Definitive Guide Table 11-1 shows the seven HTTP request head ...

随机推荐

  1. css 优先级的bug

    对于前端而言,了解css样式的优先级,对开发或处理bug有着事半功倍的效果,今天在做项目的时候,突然碰到一个优先级的小问题,刚开始不知道所因,后来才发现这个问题是由优先级造成的.先描述下问题,鼠标悬停 ...

  2. Django接受ajax传过来的数组

    $.ajax({ cache: false, type: "POST", url: "/userdelete/", traditional:true, //加上 ...

  3. echarts 百度图表

    手册说明 http://echarts.baidu.com/option.html 3.0版本加了很多新属性可以看以上链接  此文用的3.x版本 第一步 引入 <script src=" ...

  4. JS学习笔记(3)--json格式数据的添加,删除及排序方法

    这篇文章主要介绍了json格式数据的添加,删除及排序方法,结合实例形式分析了针对一维数组与二维数组的json格式数据进行增加.删除与排序的实现技巧,需要的朋友可以参考下   本文实例讲述了json格式 ...

  5. 跟着百度学习之ThinkPHP的认识/初窥

    MVC全称(Model View Controller) Model:模型(可以理解位数据库操作模型) View:视图(视图显示) Controller:(控制器) 简单的说框架就是一个类的集合.集合 ...

  6. Redis学习笔记——数据类型及操作

    数据操作 redis是key-value的数据,所以每个数据都是一个键值对 键的类型是字符串 值的类型分为五种: 字符串string 哈希hash 列表list 集合set 有序集合zset 数据操作 ...

  7. JAVA基础之訪问控制权限(封装)

    包:库单元 1.当编写一个Java源码文件时.此文件通常被称为编译单元(有时也被称为转译单元). 2.每一个编译单元都必须有一个后缀名.java,而在编译单元内则能够有一个public类,该类名称必须 ...

  8. [转]Linux动态库的种种要点

    linux下使用动态库,基本用起来还是很容易.但如果我们的程序中大量使用动态库来实现各种框架/插件,那么就会遇到一些坑,掌握这些坑才有利于程序更稳健地运行. 本篇先谈谈动态库符号方面的问题. 测试代码 ...

  9. [转]VC++下使用ADO操作数据库

    (1).引入ADO类 1 2 3 #import "c:program filescommon filessystemadomsado15.dll" no_namespace re ...

  10. UE4插件

    源代码中包含一些插件例子 C:\Program Files\Epic Games\UE_4.15\Engine\Plugins\Developer 一下截图来自官网https://docs.unrea ...