NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP $_SESSION

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


I understand this.  Like I said it is not working on PHP 5.1.
I do the session_start()
and then I put the session_id() into my $_SESSION['mysession'];

The problem is that my $_SESSION['mysession'] is empty on php 5.1
when it was not in php 4.1.

Apparently a logs of people where having this problim according to this
link:
http://bugs.php.net/bug.php?id=16263

I am reading the above link to see what the answer to the problem is.
I was hoping that some one on this list had seen this problem and
knows the answer.

Thanks,

Nestor :-)

On Thu, Jun 5, 2008 at 10:01 AM, anthony wlodarski <anthony at thrillist.com>
wrote:

> The better question is how do you build it currently?  Without that I can't
> figure out how it might be breaking.  Also don't forget to call
> session_start(); otherwise $_SESSION won't resume where it left off.
> -Anthony
>
> On Jun 5, 2008, at 12:47 PM, Néstor wrote:
>
> HELP!!!!!
>
> I am going crazy trying to figure a problem.
>
> I have an existing code that I wrote and it works(miracle!)
> and I am porting it from php 4.1 to php 5.1
>
> I just realized that my $_SESSION  array is empty on php 5.1
>
> Did something changed?  What am I missing?
>
> Thanks,
>
> Nestor :-)
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
>
>
> Anthony Wlodarski
> Web Applications Developer
> www.thrillist.com
> 560 Broadway, Suite 308
> New York, NY 10012
> p 646.274.2435
> f 646.557.0803
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080605/2f6aace2/attachment.html>


More information about the talk mailing list