Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8100

cURL and $_SESSION

From bill <william@TechServSys.com>
Newsgroups comp.lang.php
Subject cURL and $_SESSION
Date 2013-01-20 12:17 -0500
Organization Aioe.org NNTP Server
Message-ID <kdh8qq$u4k$1@speranza.aioe.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

cURL and $_SESSION bill <william@TechServSys.com> - 2013-01-20 12:17 -0500
  Re: cURL and $_SESSION bill <william@TechServSys.com> - 2013-01-20 12:22 -0500
    Re: cURL and $_SESSION Richard Yates <richard@yatesguitar.com> - 2013-01-20 09:30 -0800
      Re: cURL and $_SESSION bill <william@TechServSys.com> - 2013-01-20 13:53 -0500
  Re: cURL and $_SESSION bill <william@TechServSys.com> - 2013-01-20 12:25 -0500

csiph-web