I almost try everything that's why I try here.
I do a site that use $_SESSION. In the login page, I put date in 5 $_SESSION variables.
But in the second page, all my session variables are empty.. I don't understand, session variable are supposed to keep the variable across the web site, no?
I don't have the code on this computer, but here is what I do!
Code: Select all
<?
session_start();
session_register("v1");
session_register("v2");
session_register("v3");
session_register("v4");
session_register("v5");
$_SESSION("v1") = "something"
echo $_SESSION("v1");And then, on the other page:
Code: Select all
echo $_SESSION("v1");Please help!
If you need the code, maybe I can send a part of it this afternoon
Thank for your help in advance!