[eluser]The Questioner[/eluser]
I've had this same problem and also wanted to know how you resolved it?
I have a script that sits outside CI and sends POST data to a specific CI controller using CURL.
The problem I’m having is that when the POST data is passed into my controller by CURL, all CI session variables are empty within the controller - but only during the CURL post. My controller relies on the cart session variable as well as other session variables (which were populated prior to the CURL call).
If I open another tab on my browser and call the same controller through via a URL, the session variables are back again.
How can I keep the session variables alive when the CURL POST is made?