⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page_208.html

📁 怎样挖掘你的网站的内容。本领域内唯一的书
💻 HTML
字号:
<HTML>  <HEAD>    <!--SCRIPT LANGUAGE="JavaScript" SRC="http://a1835.g.akamai.net/f/1835/276/3h/www.netlibrary.com/include/js/dictionary_library.js"></SCRIPT>    <SCRIPT LANGUAGE="JavaScript">      if (!opener){document.onkeyup=parent.turnBookPage;}    </SCRIPT!-->    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">    <META HTTP-EQUIV="Expires" CONTENT="-1"><META http-equiv="Content-Type" content="text/html; charset=windows-1252"><SCRIPT>var PrevPage="Page_207";var NextPage="Page_209";var CurPage="Page_208";var PageOrder="217";</SCRIPT>  <TITLE>Document</TITLE>  </HEAD>  <BODY BGCOLOR="#FFFFFF"><CENTER><TABLE BORDER=0 WIDTH=100% CELLPADDING=0><TR><TD ALIGN=CENTER>  <TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0 WIDTH=100%>  <TR>  <TD ALIGN=LEFT><A HREF='Page_207.html'>Previous</A></TD>  <TD ALIGN=RIGHT><A HREF='Page_209.html'>Next</A></TD>  </TR>  </TABLE></TD></TR><TR><TD ALIGN=LEFT><P><A NAME='JUMPDEST_Page_208'/><A NAME='{719}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH='100%'><TR><TD ALIGN=RIGHT><FONT FACE='Times New Roman, Times, Serif' SIZE=2 COLOR=#FF0000>Page 208</FONT></TD></TR></TABLE><A NAME='{71A}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>  <TD ROWSPAN=5></TD>  <TD COLSPAN=3 HEIGHT=12></TD>  <TD ROWSPAN=5></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR><TD></TD>  <TD><FONT FACE='Times New Roman, Times, Serif' SIZE=3>to record what type of products and services a visitor has seen and purchased so that subsequent visits can be personalized to match their specific tastes and interests. Cookies can be used to make the visitor feel welcomed and important.</FONT></TD><TD></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR>  <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{71B}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>  <TD ROWSPAN=5></TD>  <TD COLSPAN=3 HEIGHT=12></TD>  <TD ROWSPAN=5></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR><TD></TD>  <TD><FONT FACE='Times New Roman, Times, Serif' SIZE=3>To give you an idea of how cookies work and how they can be used to enhance the value of mining log files, follow this shopping site scenario. When a visitor enters your website, your server issues an identifying user number (USERID=1234) in the following response header:</FONT></TD><TD></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR>  <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{71C}'/><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='100%'><TR><TD HEIGHT=12></TD></TR><TR><TD><TABLE CELLSPACING=0 RULES=ROWS WIDTH=620 CELLPADDING=4><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>HTTP/1.1 200 OK</FONT></TD></TR><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>Server: CERN/3.0 libww/2.17</FONT></TD></TR><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>Set-cookie: USERID=1234; path=/</FONT></TD></TR><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>Content-type: text/html</FONT></TD></TR><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>Content-length: 2742</FONT></TD></TR><TR><TD WIDTH=620 VALIGN=TOP><FONT FACE='Times New Roman, Times, Serif' SIZE=2>&lt;Entity body&gt;</FONT></TD></TR></TABLE></TD></TR></TABLE><BR><A NAME='{71D}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>  <TD ROWSPAN=5></TD>  <TD COLSPAN=3 HEIGHT=12></TD>  <TD ROWSPAN=5></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR><TD></TD>  <TD><FONT FACE='Times New Roman, Times, Serif' SIZE=3>This tells the browser to save the contents of the cookie, the visitor identification number (USERID= 1234) and associated it with the issuing server that sent it. In this example, the server that sent the cookie is <A HREF="http://www.store.com," target="_BLANK"></FONT><FONT FACE='Times New Roman, Times, Serif' SIZE=3 COLOR=#0000FF><U>www.store.com,</A></U></FONT><FONT FACE='Times New Roman, Times, Serif' SIZE=3> meaning the browser associates this cookie exclusively with store.com. Netscape Navigator will store this header identification number in the cookies.txt file, while Microsoft Explorer will put it in a cookie directory. The next request that the browser makes to the store.com server will include a request header that contains the content of the cookie. Here is how it might look:</FONT></TD><TD></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR>  <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{71E}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>  <TD ROWSPAN=5></TD>  <TD COLSPAN=3 HEIGHT=12></TD>  <TD ROWSPAN=5></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR><TD></TD>  <TD><FONT FACE='Courier New, Courier, Mono New, Courier, Mono' SIZE=2>GET&nbsp;/&nbsp;HTTP/1.1<BR>Cookie:&nbsp;USERID=1234;&nbsp;path=/<BR>If-modified-since:&nbsp;Fri&nbsp;12&nbsp;Jun&nbsp;1998&nbsp;10:57:22&nbsp;GMT<BR>Referrer:&nbsp;http://store.com/index.html<BR>User-Agent:&nbsp;Mozilla/4.0&nbsp;(Windows&nbsp;95)</FONT></TD><TD></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR>  <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{71F}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR>  <TD ROWSPAN=5></TD>  <TD COLSPAN=3 HEIGHT=12></TD>  <TD ROWSPAN=5></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR><TD></TD>  <TD><FONT FACE='Times New Roman, Times, Serif' SIZE=3>Once the cookie is set, the browser returns a &quot;Cookies&quot; header. Thereafter, the server doesn't need to send any more, except to set additional cookies for special purposes, such as identifying this as a new visitor or for observing what areas of the website this customer wanders into, what this visitor views and asks information about, and of course what she puts in her shopping cart and purchases. Through these streams of ongoing transactions the exchanges of cookies are able to maintain a semblance of continuity that is absent in the HTTP protocol.</FONT><FONT FACE='Times New Roman, Times, Serif' SIZE=3 COLOR=#FFFF00><!-- break --></FONT></TD><TD></TD></TR><TR>  <TD COLSPAN=3></TD></TR><TR>  <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{720}'/></FORM></P></TD></TR></TABLE><P><FONT SIZE=0 COLOR=WHITE></CENTER><A NAME="bottom">&nbsp;</A><!-- netLibrary.com Copyright Notice -->  </BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -