NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP/setcookie: Can someone work with me on c ookies offsite here?

Chris Bielanski Cbielanski at inta.org
Fri Aug 27 13:22:15 EDT 2004


Okay, disregard my last comment - glad you got it solved Phil. 
Personally I don't make use of cookies, so I hadn't much experience with the
problem. If in the future I'm so required, I'll be sure to watch out for
this :)


Thanks,
Chris Bielanski
Web Programmer, 
International Trademark Association,
1133 Avenue of the Americas, 33rd Floor
New York, NY 10036
+1 (212) 642-1745, f: +1 (212) 768-7796
mailto:cbielanski at inta.org, www.inta.org  
INTA -- 125 Years of Excellence



> -----Original Message-----
> From: Chris Bielanski [mailto:Cbielanski at inta.org]
> Sent: Friday, August 27, 2004 1:21 PM
> To: 'NYPHP Talk'
> Subject: RE: Re: [nycphp-talk] PHP/setcookie: Can someone work 
> with me on
> c ookies offsite here?
> 
> 
> Oh man, wouldn't that mean that IE users won't be logged out until the
> browser restarts?
> 
> Mother of *suck.*
> 
> 
> Thanks,
> Chris Bielanski
> Web Programmer, 
> International Trademark Association,
> 1133 Avenue of the Americas, 33rd Floor
> New York, NY 10036
> +1 (212) 642-1745, f: +1 (212) 768-7796
> mailto:cbielanski at inta.org, www.inta.org  
> INTA -- 125 Years of Excellence
> 
> 
> 
> > -----Original Message-----
> > From: Daniel Kushner [mailto:kushner at gmail.com]
> > Sent: Friday, August 27, 2004 1:10 PM
> > To: NYPHP Talk
> > Subject: Re: Re: [nycphp-talk] PHP/setcookie: Can someone work 
> > with me on
> > cookies offsite here?
> > 
> > 
> > This is how IE handles cookies - I'm not too sure about other 
> > browsers.
> > 
> > The session cookies aren't stored on the clients file system but in
> > memory only. Non-session cookies are stored on the file system. When
> > you set your cookie with a '0', the data is in memory, and 
> when you're
> > doing "time() - 86400", it's on the file system. Try
> > setcookie($projectFolderName, '', 0, '/');
> > 
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
> 



More information about the talk mailing list