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

如何提示用戶打開Cookie?

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

Dim strCookie, strTry

strCookie = Request.Cookies("MyCookie")  

strTry = Request.QueryString("Try")

     

If strCookie = "" Then     

' 檢測否是設(shè)置了Cookie.

 

If strTry = "" Then   

         Response.Cookies("MyCookie") = "Set"

' 重定向到這一頁面再試.

       

Response.Redirect(Request.ServerVariables("script_NAME")

& "?Try=Yes")

      Else       

     ' 如果沒有開啟Cookie.

 

 End If 

 Else

 ' 客戶端正在接受Cookie.

 

Response.Cookies("MyCookie").Expires = "April 15, 2001"

End If

 

 

相關(guān)文章

最新評論