Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/11/2005, 10:59
Avatar de c4r1o5
c4r1o5
 
Fecha de Ingreso: febrero-2005
Mensajes: 81
Antigüedad: 19 años, 2 meses
Puntos: 1
Talvez esto te pueda servir. De cualquier forma puedes leer la documentacion de PHP referente a sesiones si tienes alguna otra duda.

Código PHP:
<?php
function DeleteSessionID($sessionid) {
  
$orgpath getcwd();
  
chdir(PHP_BINDIR);
  
chdir(session_save_path());
  
$path realpath(getcwd()).'/';
  if(
file_exists($path.'sess_'.$sessionid)) {
    
// Borra la sesión
    
unlink($path.'sess_'.$sessionid);
  } else {
    
// La sesión no se encuentra
  
}
  
chdir($orgpath);
}
?>
__________________
¿Que importa el resto?, el resto es simplemente la humanidad, hay que ser superior a humanidad, por fuerza, por altura de alma, por desprecio ...