note 21687 deleted from function.setcookie by john
| From: | john@php.net | Date: | Sat, 30 Nov 2002 16:36:30 +0000 |
| Subject: | note 21687 deleted from function.setcookie by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40173@lists.php.net to get a copy of this message | ||
A good way to test cookies is to watch the location where your browser saves them.
For example, when I work on Windows, it's in c:\documents and settings\jg\cookies\
I move the existing cookie files out of the folder and interact with the PHP scripts live on the
site I am developping.
First time I tested them, the cookies where not created because I had not set the time (session
cookies are not saved to disk).
You can read the cookie files with a simple text editor, even if it's not too glamourous.
You'll get plenty of info in there, especially regarding the path.
I hope this helps somebody.
Jean-Georges (JG) Estiot
"If Bill Gates donated one dollar per unfixed bug in Microsoft software per day to the Third
World, we would be the Third World."