Bonjour,
I have the following script stored in a Linux server:
<?php
//---------------------session.php------------
session_start();
echo session_id();
?>
Executing the script inside the server itself using "/usr/bin/php session.php" simply returns different session ID each time. To my understanding, it is because of I don't use browser to access the page. So is there a way to retain the session ID via php command line??