📄 page_213.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_212";var NextPage="Page_214";var CurPage="Page_213";var PageOrder="222";</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_212.html'>Previous</A></TD> <TD ALIGN=RIGHT><A HREF='Page_214.html'>Next</A></TD> </TR> </TABLE></TD></TR><TR><TD ALIGN=LEFT><P><A NAME='JUMPDEST_Page_213'/><A NAME='{746}'/><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 213</FONT></TD></TR></TABLE><A NAME='{747}'/><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>#!/usr/bin/perl <BR>use CGI qw(:standard) <BR># check for the firstVisit cookie <BR>if (cookie('firstVisit')) { <BR> #if one exists, this is a returning visitor <BR> #collect the cookie value <BR> $firstVisit=cookie('firstVisit'); <BR> $first="not "; <BR> #print header with no cookies. <BR> print header(); <BR>} else { <BR> #set firstVisit cookie <BR> $firstVisit=localtime; <BR> $cookie = cookie(-name=>'firstVisit', <BR> -value=>$firstVisit, <BR> -expire=>'+2y', <BR> -path=>'/'); <BR>#print header with firstVisit cookie <BR>print header(-cookie=>$cookie); <BR>$first=""; <BR>}<BR>$currentDate=localtime; <BR>#use cgi-pm's method for creating HTML. <BR>print start_html("First Visit Check"), hl("Visitor Status"); <BR>print p("Welcome $first to The Online Shop.");#use Perl's <BR> concatenation operator to split <BR>#print p("Check out our daily sales"); <BR>print hr(); <BR>print p("It is now $currentDate."); <BR>print end_html(); </FONT></TD><TD></TD></TR><TR> <TD COLSPAN=3></TD></TR><TR> <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{748}'/><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR> <TD ROWSPAN=5></TD> <TD COLSPAN=3 HEIGHT=17></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><B>Open Profiling System (OPS)</B></FONT></TD><TD></TD></TR><TR> <TD COLSPAN=3></TD></TR><TR> <TD COLSPAN=3 HEIGHT=1></TD></TR></TABLE><A NAME='{749}'/><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>The proposed Version 1.0 of cookies RFC 2109 would allow users more control over what cookies get passed to their browser and would expand their ability to reject cookies. It would also require website administrators and developers to explain why they are issuing cookies to their visitors and customers. Furthermore, the Open Profiling System as proposed by Netscape, Firefly (now owned by Microsoft), and VeriSign would set new
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -