So why do I need session?
| From: | sam rumaizan | Date: | Wed, 11 Apr 2007 04:31:44 +0000 |
| Subject: | So why do I need session? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-27654@lists.php.net to get a copy of this message | ||
You use a session to store values that are required over the course of a single visit, and a cookie
to store more persistent data that is used over multiple visits.
Session: when you close the browser the session gets flushed. Which means the browser will not
recognize the user next time he/she browse the page unlike cookie.
So why do I need session? OR maybe I didnt understand session
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.