Web Features Learning Mode

If you set a cookie with either setcookie() or header(), you can immediately check to see whether the client accepted it.