Código PHP:
if ($contrasenya == $row['contrasenya']) {
$wtda=$row['tienda'];
setcookie("tda",$wtda,time()+18000);
header("Location: inicio.php");
exit; }
else {
header("Location: identifica.php");
exit; }
Código PHP:
<?
$identi = $HTTP_COOKIE_VARS['tda'];
?>
que hago mal?