Tengo un problemilla, segui tus pasos y tu puse esto en vez de lo que tenia
Código PHP:
<? header('Location:error.php?idarea=100');
exit;
?>
</head>
<body>
</body>
</html>
y me sale el siguiente error, no se porque
Warning: Cannot modify header information - headers already sent by (output started at /datos/home/d119817/public_html/atencion.php:11) in /datos/home/d119817/public_html/inc/sesion.php on line 21