I don't use cookie for my page. I use session. As I understand cookies don't create any files on user computer. I have this code below on my page. When I access this page immediately cookie is created on my computer. Any ideas why?
<?php
session_start();
$referral = $_SESSION['referral'];
if(empty($referral)) {
$referral = $_SERVER['QUERY_STRING'];
$_SESSION['referral'] = $referral;
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

