I was testing a cookie with a 60 second expiration time, as with time() + 60. But I noticed during a remote session, since my server is on P.S.T., and I'm locally on E.S.T., the expiration time should have elaspsed three hours + one minute ahead of time.
For example, assume it's 9:00 locally. The cookie should then expire at 6:01 P.S.T. Which means it shouldn't be working at all. But it was!
And then I read this little gem in the on-line manual :
expire is compared to the client's time which can differ from server's time.
Well shut my mouth wide open! That little tidbit should be in
Big , BIG CAPS at the very beginning of the manual, IMHO.