I've set cookies as <?
setcookie('mydomain.com',$session_id,(time()+3592000),'/','',0);
?>
when user enters my site and later on when the user decides to log on, how to check the values and set that last number 0 to 1 i.e.
<?
setcookie('mydomain.com',$session_id,(time()+3592000),'/','',1);
?> and include username in the cookie so that on checkout it becomes easy.
Thanks in advance.