trouble with cookies<

liunx

Guest
im doing some stuff with some cookies and i can't figure out if your can add more information to a cookie once its already been set

<!-- m --><a class="postlink" href="http://www.xcelco.on.ca/~young/sarnia/customamd.php">http://www.xcelco.on.ca/~young/sarnia/customamd.php</a><!-- m -->

so far i can only get it to work with 2 seperate cookies


//Right here I add some stuff to the cookie

$cookie_data = $motherboard.'-'.$videocard.'-'.$monitor.'-'.$cdrom;

setcookie("computer_info",$cookie_data, $time+3600);

//Now I try to add more stuff without overwriting the old

$cookie_data = $os;


setcookie("computer_info",$cookie_data, $time+3600);nope, either add it to the orignal cookie when you first create it or make a new one.
 
Back
Top