Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/07/2008, 11:52
kaiowa
 
Fecha de Ingreso: abril-2004
Mensajes: 44
Antigüedad: 20 años, 10 meses
Puntos: 0
Respuesta: Enviar formulario por sesiones

if(isset($_COOKIE["cartId"]))
{
return $_COOKIE["cartId"];
}
else
{
// There is no cookie set. We will set the cookie
// and return the value of the users session ID

session_start();
setcookie("cartId", session_id(), time() + ((3600 * 24) * 30));
return session_id();
}


http://www.devarticles.com/c/a/MySQL...P-and-MySQL/2/


echale un vistacillo