[thelist] PHP cookies and sessions

elin tjerngren. artopod elin at artopod.se
Thu Feb 14 02:06:01 CST 2002


> Any good web tutorials you guys know of?

I still think Netscape javascript has the best docs:
Read the comments on php.net:

> I'm running IIS 5.0 on Win2K, with PHP 4.something. When I put this code in
> my page <code> <?php $count++; setcookie("count", $count); ?> </code>
> It works...the cookie variable/value is used, but I can't *find* the cookie
> anywhere in my computer's directory tree. It isn't showing up in 'temporary
> internet files' or 'Cookies' directories (where all the other cookies set
> by sites are). Any suggestions of where the cookie goes?

When you don't set the expire date it isn't saved at all - it's called a per
session cookie - when you close the browser it's lost.


More information about the thelist mailing list