Re: setcookie question

From: Date: Sun, 28 Jul 2002 07:33:57 +0000
Subject: Re: setcookie question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110029@lists.php.net to get a copy of this message
If the different applications are on the same domain/ip you should use this: ("myCookie","$cookie_value",$timeToExpire); note the missing parameter at the end -- JJ Harrison webmaster@tececo.com www.tececo.com "Gaylen Fraley" <gfraley5@earthlink.net> wrote in message news:20020728032422.58045.qmail@pb1.pair.com... > I need to create a cookie that is accessible from more than 1 application, > but on the same server. What would be the proper syntax? What I tried was > setcookie ("myCookie","$cookie_value",$timeToExpire,'/'); Right > or wrong or > impossible? Should I not have used the "/"? Thanks. > > -- > Gaylen > PHP KISGB v4.0.5 Guest Book > http://www.gaylenandmargie.com/phpwebsite/ > PHP KISSQ v1.0 Stock Quote > http://www.gaylenandmargie.com/phpwebsite > > >

« previous php.general (#110029) next »