Posted by Atte Andrι Jensen on 12/09/05 15:52
Hi
I'm developing a site where I'd like to store information during a users
visit. So far I've been using sessions, but as far as I can tell it's
not possible to control for how long a session is valid. It seems that
these information are valid until the browser closes.
On the other hand it's possible to set expiration time for cookies.
Does this mean that I have to abanbon $_SESSION altogether and switch to
$_COOKIE for storing information? Or can/should they be coupled in some way?
In other words: are sessions and cookies conceptually an either-or or
are they supposed to supplement each other?
Thanks in advance for any reply...
--
peace, love & harmony
Atte
http://www.atte.dk
Navigation:
[Reply to this message]
|