欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

如何讓用戶再次訪問我的網(wǎng)站時(shí)不需再提交相關(guān)信息?

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

< %@ LANGUAGE="VBscript" %  >
< %
Chunfeng=Request.Cookies("Chunfeng")

' 初始設(shè)置頁面,讀取名字為ChunfengCookie.
If Chunfeng ="" then

' 判斷是否已經(jīng)存在Cookie.
  Response.Cookies("Chunfeng")="x"
  Response.Cookies("Chunfeng").Expires=#January 01, 2010#
  Response.Redirect "Chunfeng.asp"

' 如果不存在,就創(chuàng)建并設(shè)置Cookie,并轉(zhuǎn)到頁面Chunfeng.asp.當(dāng)下次訪問時(shí),因?yàn)榇嬖?/SPAN>Cookie,就不會(huì)再轉(zhuǎn)到Chunfeng.asp 頁面.
Else
'rest of the page

' 如果Cookie已經(jīng)存在,則訪問者將執(zhí)行頁面中剩余的代碼.
End if
% >

相關(guān)文章

最新評(píng)論