Ver Mensaje Individual
  #12 (permalink)  
Antiguo 14/11/2007, 07:21
basko3k
 
Fecha de Ingreso: noviembre-2007
Mensajes: 30
Antigüedad: 16 años, 6 meses
Puntos: 0
Re: Warning: session_start() [function.session-start]: Cannot send session cookie - h

Ya resolví el problema era una línea en blanco, muchas gracias por eso, pero ahora me surge otro por demás importante.
Me tira este error cuando hago el logout
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in /var/www/localhost/htdocs/servicio/salir.php on line 13
Y obviamente no me termina la sesión.
Les envío el código del salir.php:

<?php
$hoy=date("y/m/d");
$hora=date("H:i");?>
<TABLE style="BORDER-COLLAPSE: collapse" height=1 width=100% >
<TBODY>
<TR><TD bgColor="lightsteelblue" height=1>
<div align="right">En Bariloche es: <?$hoy=date("d/m/y H:i");echo"$hoy"; ?></div>
</TD><TR/>
</TBODY>
</TABLE>
<?
session_start();
session_destroy();
?>
<html>
<head>
<title>Has salido!!</title>
</head>
<body bgcolor="">
<br><br><center><img alt="logoOficialCNEA (5K)" src="logoOficialCNEA.gif" height="88" width="88" />
<center><table border=0 cellspacing=1 cellpadding=6>
<tr><td><font size=6 color = "#3333ff" >* ¡Gracias por tu acceso! *</td></tr>
<br>
<br>
<tr><td><center><a href=index.php><font size=4 color=blue>* INGRESAR *</a></tr></td>
</body>
</html>

Necesito nuevamente de sus mentes brillantes. Gracias