note 49783 added to function.setcookie
| From: | reeets at gmail dot com | Date: | Tue, 08 Feb 2005 17:21:16 +0000 |
| Subject: | note 49783 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84677@lists.php.net to get a copy of this message | ||
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?
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49783
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49783&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49783&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49783&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49783&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49783&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49783&report=yes
Search -- http://master.php.net/manage/user-notes.php