Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/04/2008, 10:55
Avatar de pato12
pato12
 
Fecha de Ingreso: septiembre-2007
Ubicación: Salta
Mensajes: 1.620
Antigüedad: 17 años, 5 meses
Puntos: 101
Re: mantener session activa hasta el Logout.

Ese codigo si te mantendra tu session activa hasta el Logout.
En estas lineas tenes problema de comillas:
Código PHP:
$usuario strtolower(htmlentities($HTTP_POST_VARS[“user”], ENT_QUOTES));     
    
$password $HTTP_POST_VARS[“pass”]; 
//..........
//Y
 
if($row[“pass”] == $pass){ 
remplasalos por:
Código PHP:
$usuario strtolower(htmlentities($HTTP_POST_VARS['user'], ENT_QUOTES));     
    
$password $HTTP_POST_VARS['pass']; 
//..........
//Y
 
if($row['pass'] == $pass){ 
Suerte
Salu2
__________________
Half Music - www.halfmusic.com