Hello,
I'just found out that:
when together,
session_start();
$user_ID = $PHPSESSID;
--> user_ID will be empty
when together,
session_start();
$user_ID = session_id();
--> user_ID will have a value
You have to use session_id() when you want to start the session and call the id in the same page.
* applied for Apache/php win32
I'just found out that:
when together,
session_start();
$user_ID = $PHPSESSID;
--> user_ID will be empty
when together,
session_start();
$user_ID = session_id();
--> user_ID will have a value
You have to use session_id() when you want to start the session and call the id in the same page.
* applied for Apache/php win32