Re: Broken Cookies
| From: | TomHenry | Date: | Wed, 05 Jul 2000 15:39:46 +0000 |
| Subject: | Re: Broken Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4982@lists.php.net to get a copy of this message | ||
Your description "cookie does not get sent" doesn't say enough about the
error. You need to give us the Error Message that you are receiving.
At 05:01 PM 7/4/00 -0500, David VanHorn wrote:
Can I send cookies from a php script, if the cookie code is included? I have a bunch of files that all need cookie code. I have this all working, except when I try to make a library routine and include, then the new cookie does not get sent. This code should put a 10 char cookie on the browser, and store it in the database, IF the retrieved cookie (from last time) matches what's in the database from last time. If no match, I don't store the new cookie, so you're locked out. All that logic is not here though, because the problem is only that the cookie isn't getting sent.--------------------------------------------------------------------Here's the top of the cookie script, called random_cookie.php The-- www.SpamWhack.com A pre-emptive strike against spam A tornado is a lady whose skirts you do NOT want to look up! Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 -- 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
Strategic Business Systems (978) 745-2332
http://BusinessWebs.com/
--------------------------------------------------------------------