NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP $_SESSION

Tim Lieberman tim_lists at o2group.com
Thu Jun 5 20:08:55 EDT 2008


/tmp is usually easy to write to, but it sure seems like apache  
doesn't have permission to write there.

Who owns /tmp?  What permissions are are on the directory?

-Tim

On Jun 5, 2008, at 6:01 PM, Néstor wrote:

> No sess files in /tmp
>
> _SERVER["HTTP_COOKIE"]  --> PHPSESSID=ttl1fo7uv30sq4hbi8fkq4v683
>
>
> On Thu, Jun 5, 2008 at 4:06 PM, John Campbell  
> <jcampbell1 at gmail.com> wrote:
> On Thu, Jun 5, 2008 at 6:59 PM, Néstor <rotsen at gmail.com> wrote:
> > The session variables are empty.  The save path is /tmp
>
> Not what I meant.  From ssh, type:
> cd /tmp
> ls
>
> Do you see files that start with sess?
>
> > I do see the PHPSESSID on the phpinfo page.
>
> I know that.  Do you have a cookie for your domain named PHPSESSID?
>
> -John C.
> _______________________________________________
> 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
>
> _______________________________________________
> 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/9df4029d/attachment.html>


More information about the talk mailing list