Hi, all --

...and then David T-G said...
% 
% I guess I need a primer on cookie usage.  I've read the manual regarding
[snip]

All has become clear, or at least only murky :-)

I was having trouble wrapping my head around how to start cookies (a la
sessions) and then check to see if I had a cookie on the browser machine
to log in a user automatically, since setcookie() looked to be the only
way to do anything and that wipes anything that may be there.

Richard was kind enough to clarify that the browser will automatically
send the cookie, even without asking, the next time the visitor comes to
the site, so I can immediately check $_COOKIE['mycookie'] without having
to call setcookie() to instantiate things.

Now to put it all into practice, but I see my cookie in the browser cache
file and it gets setn back to me when I return.  Yay! :-)


HTH & Thanks again & HAND

:-D
-- 
David T-G
[EMAIL PROTECTED]
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to