On Apr 6, 2005 2:30 PM, William Stokes <kalles@xxxxxxxxxxxxx> wrote: > > This doesn't set the cookie? Can you see why? I can't... > > $showbrowseteam = 'somejargon'; > setcookie("showbrowseteam","$showbrowseteam",0,"/"); > > Thanks > -will > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > you've set the cookie time to 0... which is a very long time ago. setcookie("showbrowseteam",$showbroseteam, time()+time_in_seconds,"/"); hth