Re: Session Oddness

From: Date: Wed, 13 Mar 2002 12:45:19 +0000
Subject: Re: Session Oddness
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81140@lists.php.net to get a copy of this message
I might be reading it wrong, and feel free to creect me if i am but: does the code read: If a cookie was sent then setup SID else if a cookie wasnt sent dont setup SID end if if (send_cookie) { smart_str var = {0}; smart_str_appends(&var, PS(session_name)); smart_str_appendc(&var, '='); smart_str_appends(&var, PS(id)); smart_str_0(&var); REGISTER_STRING_CONSTANT("SID", var.c, 0); } else { REGISTER_STRING_CONSTANT("SID", empty_string, 0); } surely this is back to front? shouldnt SID be defined when a cookie ISNT sent ? Matt On Wed, 2002-03-13 at 20:24, Sascha Schumann wrote: > The current CVS behaviour is the correct and documented one. > > - Sascha Experience IRCG > http://schumann.cx/ > http://schumann.cx/ircg > -- Matt Allen Technical Director Investigation Marketplace 0413 777 771 matt@investigationmarketplace.com

« previous php.dev (#81140) next »