Php session when you run the script from the console?
Start the first script from the console, write in the session while the script is running all the decorum and fine.
When you rerun the same script and appeal to the same session(session_name(blah)), it cannot receive them.
It creates a new session according to the folder tmp to store sessions...
after the change some missed...
z.s: the lifetime of the session pointed out forcibly in the header of the script.