entonces el codigo final quedaria as:
Código PHP:
<?
session_start();
if(isset($_SESSION)){ // ojo .. el array superglobal para sesinoes es $_SESSION no $SESSION
header("Location: user.php"); // ojo .. Location: [espacio] URL .. esa es su sintax correcta para esa cabecera HTTP de "location".
exit; // si usas un exit aquí .. te evitas hacer el else con su } de cierre al final del código ..
}
?>
<html><head><title>Necesita identificacion! </title><link rel="stylesheet" type="text/css" href="style.css"><link rel="stylesheet" type="text/css" href="_themes/zero/zero1011.css"></head>
<body>
<form action="comprueba.php" method="POST">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1400" id="AutoNumber1">
<tr>
<td width="100%">Login:</td>
</tr>
<tr>
<td width="100%"> <input type="text" name="login" size="16"></td>
</tr>
<tr>
<td width="100%">Password:</td>
</tr>
<tr>
<td width="100%"> <input type="password" name="pass" size="16"></td>
</tr>
<tr>
<td width="100%">
<input type="submit" value="Entrar"></td>
</tr>
</table>
</form>
</body></html>
y todo esta bien? porfa ayudame