Ejemplo: variable indefinida _session
<?php
// add session start in your first main home page after login page
// example
// page1 : login.php
session_start();
$_SESSION['name']='(your data modifiable)';
....
//redirect to your main page after login
// page2 : home-user.php
session_start();
// now you can use if(isset($_SESSION['name']){
?>
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)