I am trying to get a session created by a browser call to be used by a command line cli->curl php call (in this case, both calls to the same server and php.ini), for a set of flexible media import routines,
but the cli->curl call always starts a new session despite me putting PHPSESSID=validID as the first parameter for the url called by curl.
I was able to fix it by calling session_id($_GET['PHPSESSID']) before calling session_start() in the script called via curl.
----
Server IP: 91.199.167.223
Probable Submitter: 82.161.37.94
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/102254
Del: integrated -- https://master.php.net/note/delete/102254/integrated
Del: useless -- https://master.php.net/note/delete/102254/useless
Del: bad code -- https://master.php.net/note/delete/102254/bad+code
Del: spam -- https://master.php.net/note/delete/102254/spam
Del: non-english -- https://master.php.net/note/delete/102254/non-english
Del: in docs -- https://master.php.net/note/delete/102254/in+docs
Del: other reasons-- https://master.php.net/note/delete/102254
Reject -- https://master.php.net/note/reject/102254
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.