亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

如何在ASP中恰當(dāng)?shù)剡\(yùn)用Cookies?

 更新時(shí)間:2006年11月16日 00:00:00   作者:  

remberme.asp

' 用戶提交個(gè)人信息.

<

response.Cookies("information")("姓名")=request.form("name")

response.Cookies("information")("顧客號(hào)")=request.form("id")

response.Cookies("information")("來(lái)自")=request.form("from")

……

' 定義一個(gè)名為informationCookies字典,你可以定義更多,如果你需要.

>

 

<html>

<head>

<title>星河影動(dòng)</title>

</head>

<body>

<div align="center"><center>

<table border="0" cellspacing="0" width="600" height="86">

  <tr>

    <td height="65"><p align="center"><font>星河影動(dòng)之Cookies應(yīng)用</font></td>

  </tr>

  <tr>

    <td align="center" height="62"><form method="post" action="remberme.asp">

<p><font>   

姓名: <input type="text" name="name" size="20">   <br>

      顧客號(hào): <input type="text" name="id" size="20">   <br>

來(lái)自: <input type="text" name="nation" size="20">   

</font><br>

<input type="submit" value="我想查詢">  

<input type="reset" value="重寫(xiě)">

   </p>

    </form>

    </td>

  </tr>

</table>

</center></div>

</body></html>

 

welcome.asp

' 顯示Cookies中的內(nèi)容.

<html>

<head>

<title>Cookies Demo</title>

</head>

<body>

姓名

<=request.Cookies("information")("name")>

<p>

顧客號(hào)

<=request.Cookies("information")("id")>

<p>

來(lái)自

<=request.Cookies("information")("from")>

</body></html> 

相關(guān)文章

最新評(píng)論