- 永遠存在
<cfcookie name = "id_no" value = "123456" expires = "Never">
- 刪除cookie
<cfcookie name = "id_no" value = "" expires = "Now">
- 一天後到期
<cfcookie name = "id_no" value = "123456" expires = "1">
- 設定到期日
<cfcookie name = "id_no" value = "123456" expires = "10/09/97">
- 8 秒後到期
<cfcookie name = "id_no" value = "123456" expires = "#dateadd('s',now(),'8')#">
沒有留言:
張貼留言