NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP $_SESSION

Néstor rotsen at gmail.com
Thu Jun 5 16:16:13 EDT 2008


Interesting that the SESSION data is not there but I can the
HTTP_COOKIE PHPSESSID=ttl1fo7uv30sq4hbi8fkq4v683

which just happens to be my session_id().

Still no SESSION section

:-(

On Thu, Jun 5, 2008 at 12:29 PM, Néstor <rotsen at gmail.com> wrote:

> The login page set mysession id
> the second page checks the session ids and  redirects to login page if no
> match
>
> This is the output oh my header_list before just before redirecting to the
> login
> page:
> array(4) {
>       [0]=> string(23) "X-Powered-By: PHP/5.1.6"
>       [1]=> string(38) "Expires: Thu, 19 Nov 1981 08:52:00 GMT"
>       [2]=> string(77) "Cache-Control: no-store, no-cache, must-revalidate,
> post-check=0, pre-check=0"
>       [3]=> string(16) "Pragma: no-cache"
> }
>
>
>
>
> On Thu, Jun 5, 2008 at 12:17 PM, John Campbell <jcampbell1 at gmail.com>
> wrote:
>
>> On Thu, Jun 5, 2008 at 3:00 PM, Néstor <rotsen at gmail.com> wrote:
>> > phpinfo() does not show the SESSION  section
>> >
>> > On Thu, Jun 5, 2008 at 11:44 AM, John Campbell <jcampbell1 at gmail.com>
>> wrote:
>>
>> Well that is clearly a problem.  Can you post the header section?  It
>> also seems strange that your posted version is (cli); that doesn't
>> make much sense if you want a webserver.  This is clearly an
>> install/build issue.  Please provide some info on the platform and
>> distro and how you installed.
>>
>> -John C.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080605/1488f21f/attachment.html>


More information about the talk mailing list