I've had a good look at session_begin() but still having probs.
My code should work perfectly when run using a browser, but I am running it as a true cron script on the server (as opposed to cron.php in phpBB3).
I'm prolly missing something silly, or maybe its a security thing that stops what I am trying to do.
My script runs once - starts a new session, then logs in using data in the script (a user login).
It saves session_ID and other stuff in my own table.
Next time it runs, it checks my own table stuff against the sessions table to see if already in.
So - on second run - I now have a session_id and a user_id, how do I utilise session_begin() to use that data instead of it trying to create a new session?