Re: Sessions or Cookies?
| From: | Chris Shiflett | Date: | Fri, 17 Jan 2003 17:29:09 +0000 |
| Subject: | Re: Sessions or Cookies? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132020@lists.php.net to get a copy of this message | ||
--- Cesar Aracena <icaam@icaam.com.ar> wrote:
> Should I use the no-so-secure old cookies method
> or should I start a new session every time a client
> drops in and handle each cart by session name or ID?
My advice is to only use cookies to identify a Web client.
Any data you want to associate with that Web client (user
data, for example) should be stored on the server -
database, session store, etc.
Chris