I had web site who run with session but now when I try to use them the session look to empty itself :S
I call everypage with an "id" that I get in with $_GET. The page load I have no problem. The only problem is that I can't use it once I have fill it with information cause it's empty.
Here is my code :
//Code in my index.php (who have the id= that I parse with $_GET
<?php
/* Démarre la session */
session_start();
header("Cache-control: private");
?>
//Then in the page that I save the session:
$_SESSION['name'] = $myname
Than I can echo the session without problem :
echo($_SESSION['name']);
But once I load an other page the session is empty! Why?