Page 1 of 1

where is the cookie in my local machine????????

Posted: Sat Aug 23, 2003 4:51 am
by wowiz
Hello everybody!!!!
I am running PHP (version 4.3) with the appache (version 1.3) in my home win98 machine...

My :?: is:

I run the php file in my IE6 (which accepts cookies) with a code similar to:

<?php
setcookie('cooname','coovalue',time()+(60*60));
?>
<html><head>.........rest of code......</html>

Where is the cookie stored in my local machine?
Something needs to be done in php.ini?

Sessions work fine...

Thanks :!:

Posted: Sat Aug 23, 2003 5:44 am
by volka
Do you want to know where it is stored out of curiosity?
Then the answer is: on your system is a directory called "temporary internet files". Cookies are stored there as Cookie:<siteinfo>.

If your question includes "it doesn't work" my counterquestion is: although the file is local did you open it via http://localhost/<filename>?
If not, please do so.

Posted: Sat Aug 23, 2003 7:30 am
by wowiz
yes it works...thanks