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. FreeRTOS 二值信号量,互斥信号量,递归互斥信号量

    以下转载自安富莱电子: http://forum.armfly.com/forum.php 本章节讲解 FreeRTOS 任务间的同步和资源共享机制,二值信号量. 二值信号量是计数信号量的一种特殊形式 ...

  2. Android——Bundle savedInstanceState的作用

    写过Android程序的都知道Activity中有一个名称叫onCreate的方法.该方法是在Activity创建时被系统调用,是一个Activity生命周期的开始.可是有一点容易被忽视,就是onCr ...

  3. 使用shell读取文本文件发送到kafka

    #!/bin/sh ## 参数定义 dt=`date +"%Y%m%d" -d "-1 days"` outpath=/xxxx_log_${dt}.txt b ...

  4. VIM打开shell脚本中文乱码解决

    1. 查找 .vimrc文件 通常有2个地方保存这个文件的: (1) 在/etc/文件夹下面,是所有用户的vim配置 (2)每个用户的开始登录的文件夹下面,有些不一定有,比如hadoop用户,则在/h ...

  5. Spring.Net框架一:Spring.Net简介

    一.Spring.Net简介 Spring.NET为建立企业级应用提供了一套轻量级的解决方案.通过Spring.NET,我们可以用统一且透明的方式来配置应用程序.Spring.NET的重点是为中间层提 ...

  6. js获取字符串的实际长度并截断实际长度

    在项目中有这样一个需求,就是一个很长的字符串,需要截断成几组字符串,而这几组字符串里既包含汉字,又包含字母,下面提供了几种方法 1,获取字符串的长度 function getstrlength(str ...

  7. wrk -- 小巧轻盈的 http 性能测试工具.

    标签: wrk http 性能 | 发表时间:2015-06-21 00:55 | 作者:zjumty 出处:http://www.iteye.com 测试先行是软件系统质量保证的有效手段. 在单元测 ...

  8. 查看cpu 个数, 内存信息

    查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看每个物理CPU中core的个数(即核数) ...

  9. Spring Boot自动配置类

    http://docs.spring.io/spring-boot/docs/current/api/overview-summary.html http://docs.spring.io/sprin ...

  10. 【BZOJ】1645: [Usaco2007 Open]City Horizon 城市地平线(线段树+特殊的技巧)

    http://www.lydsy.com/JudgeOnline/problem.php?id=1645 这题的方法很奇妙啊...一开始我打了一个“离散”后的线段树.............果然爆了. ...