note 49783 rejected from function.setcookie by irchtml
| From: | irchtml@php.net | Date: | Wed, 02 Mar 2005 15:21:24 +0000 |
| Subject: | note 49783 rejected from function.setcookie by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-85786@lists.php.net to get a copy of this message | ||
Note Submitter: reeets at gmail dot com
----
Needed some help with my cookies. I have one script that loads in almost every file. It just has
basic functions i use in every file. One function is to login. It sets a cookie, session_id and some
session variables. I check the cookie before i leave the page and it reads it, once the Header
command loads the next page the cookie is no longer there (using the print_r thing to see a
available cookies). Any ideas what I am doing wrong?