manual/en/features.cookies.php

20240401_rev01 · COMPARED WITH 20240302_rev01 · ARCHIVE SNAPSHOT, DATE APPROXIMATE

Full text changes — 20240302_rev01 to 20240401_rev01

55For more details, including notes on browser bugs, see the [setcookie()](https://www.php.net/manual/en/function.setcookie.php) and [setrawcookie()](https://www.php.net/manual/en/function.setrawcookie.php) function.
66
77\-104
88
99[**_codewithsudeep at gmail dot com_**](https://www.php.net/manual/en/features.cookies.php) [¶](https://www.php.net/manual/en/features.cookies.php)
1010
11**11 months ago**
11**1 year ago**
1212
1313`<?php // Example // Setting a cookie setcookie("usertoken", "noice", time()+20*24*60*60); // 20 days = 20*24*60*60 secondssetcookie("usertoken", "", time()-3600) ?>`