NYCPHP Meetup

NYPHP.org

[nycphp-talk] Cookie

Michele Waldman mmwaldman at nyc.rr.com
Thu Mar 19 09:53:53 EDT 2009


Ok.  Thanks.

I thought if I specified $path = it would resolve.

Michele

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Scott Mattocks
Sent: Thursday, March 19, 2009 9:18 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Cookie

Michele Waldman wrote:
> I was defined in the subdirectory, but not the root directory.
> 
> So, I don't think it was an expiration problem.

It isn't that the cookie is expired already. It is that you are setting 
the path as the expiration. You can't just leave it out and hope that 
the function figures out you really meant / to be the path. You have to 
put something where the expiration value goes.

-- 
Scott Mattocks
Author: Pro PHP-GTK
http://www.crisscott.com
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php




More information about the talk mailing list