![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/06/2004, 13:20
|
![Avatar de living](http://static.forosdelweb.com/customavatars/avatar65604_1.gif) | | | Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 20 años, 8 meses Puntos: 2 | |
Pero el session_start() lo tienes que poner aquí
<?
$idUsuario=$_COOKIE["cookvguser_id"];
if (!$idUsuario){
session_start();
$idUsuario=$_SESSION["user_id"];
}
?>
bienvenido tu ID es <?=$idUsuario?> |