NYCPHP Meetup

NYPHP.org

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

John Lacey jlacey at att.net
Fri Aug 27 12:54:37 EDT 2004


Adam wrote:
> 
> On Fri, 27 Aug 2004, Phillip Powell wrote:
> 
> |I'd rather not bug the list with this but I've stumped even the superior 
> |Chris Bielanski with this one..
> |
> |I am writing a logout.php script that simply deletes the cookie, deletes 
> |the session variables and redirects.
> |
> |Right now, it only redirects.  The cookie and session variables remain 
> |intact in spite of my best efforts.  I'm at a loss as to what to do at 
> |this point so I'm appealing to higher minds on this one.  Someone 
> |contact me and I'll send the code for review and tell me what I did 
> |wrong, please.

what happens if you write a test that:
1. deletes the cookie -- observe results
2. deletes the session variables -- observe results

since "3." is already happening, I'd work on 1 and 2

John





More information about the talk mailing list