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:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 25. Januar 2001 09:37
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to