AW: [PHP] Which one is better?Session or Cookies?
| From: | Thomas Weber | Date: | Thu, 25 Jan 2001 08:56:46 +0000 |
| Subject: | AW: [PHP] Which one is better?Session or Cookies? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36584@lists.php.net to get a copy of this message | ||
Hi,
i think i many cases cookies are better, because the are stored in the
computers memory for a very long time if needed and is not destroyed after
the session timeout or changeing the IP.
For example Amazon stores the cart in session, but the login-data is stored
in a cookie so you don't need to relogin every time you change you IP.
-----Ursprüngliche Nachricht-----
Von: Hendry Sumilo [mailto:hsumilo@hotmail.com]
Gesendet: Donnerstag, 25. Januar 2001 09:37
An: php-general@lists.php.net
Betreff: [PHP] Which one is better?Session or Cookies?
Dear everyone,
I want to know which approach is bettter?Using cookies or session to store
user's data?
i have tried using cookies ,but some computers can't accept that,then i move
to session register,but my supervisor ask me to put cookies as well,
i dunno what is the purpose of using cookies instead i can use session.
can anyone help me to answer why have to use cookies?and for what?
cause i know that some user doesn't want to enable cookies
thank you very much
Hendry Sumilo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net