Re: Cookie woes ...

From: Date: Mon, 04 Sep 2000 13:39:08 +0000
Subject: Re: Cookie woes ...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-15123@lists.php.net to get a copy of this message
I should have mentioned that ... I've explicitly done the path and domain and removed the header directive - besides I've tried it with IE5.5 and NS6preview2 all with the same results. It's damn annoying. Chuck On Mon, Sep 04, 2000 at 09:19:55AM -0400, Thomas Deliduka wrote: > Yes, that's probably your problem. You should specifically mention the > domain and the path. On many browsers your cookie will not work across > several pages unless you do this. Especially the AOL browser. > > Also, not sure if it's been fixed in IE or not but at least in 4.0 if you > set the cookie and then redirect to another location immediately the cookie > does not get set. > > On 9/4/00 8:44 AM this was written: > > > Can someone give a 30 second 'no shitter' on cookies -- or point me to one. > > > > I can make the trivial work - a self referencing form that prints a counter or > > your name, but beyond that I've got all kinds of problems. > > > > for example: > > > > setcookie("cookie1",$value1); > > setcookie("cookie2",$value2); > > > > header("Location:http://mysite.com/otherpage.php"); > > > > No cookies on 'otherpage.php' either on initial load or reload. > > > > A couple things to wonder about. The cookies are created, in the trivial > > example they are registered to mysite.com and /~chucker/myworkingdir. In the > > one I can't get to work, they are registered to mysite.com and > > /php/php3/~chucker/myworkingdir - I don't know why and I'm wondering if that > > is having an effect - > > > > This is a CGI install of 3.014 > > -- > > Thomas Deliduka > IT Manager > ------------------------- > New Eve Media > The Solution To Your Internet Angst > http://www.neweve.com/ > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#15123) next »