note 102254 added to function.session-start

From: Date: Fri, 04 Feb 2011 09:51:04 +0000
Subject: note 102254 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-176672@lists.php.net to get a copy of this message
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

« previous php.notes (#176672) next »