FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cURL and $_SESSION
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cURL and $_SESSION [message #180167 is a reply to message #180166] Sun, 20 January 2013 17:22 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 1/20/2013 12:17 PM, bill wrote:
> I am invoking a script via cURL, with POST variables. Seems to
> work fine, but...
>
> On the first invocation I set a session variable, when I return
> to the same script via cURL from the same computer (with a
> different command) the session array is empty.
>
> I verified that I am setting the session variable correctly.
>
> What is special about using Session when invoking a script via cURL
>
> -bill

yes, I do session_start (); as the first executable line in the
script.

-bill
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pecl install xpackage - php_suffix does not match
Next Topic: Passing complex data back when using cURL
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 00:07:45 GMT 2024

Total time taken to generate the page: 0.05210 seconds