Re: DATABASE SESSION vs NON DB SESSION
| From: | Michael Kimsal | Date: | Fri, 13 Oct 2000 18:40:45 +0000 |
| Subject: | Re: DATABASE SESSION vs NON DB SESSION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20057@lists.php.net to get a copy of this message | ||
Jingle Balls wrote:
> I have been reading the posts and some articles about PHP sessions and I got
> myself confused (I know it happens a lot). However I am a bit perplexed over
> this. I hear a lot of people wanting to keep session information in a DB,
> doesnt PHP have a great server side storage of session variables? All you
> need to keep client side is a single cookie of the sessionid?
>
> If this is the case, why go the DB route? You can keep preferences and log
> info to the actual database, adn read those in when the user logs in and
> then keep them as session variables.
>
This doesn't work in a multi-server environment - 5 web servers to
one database server, for example.
--
==========================
Michael Kimsal
http://www.tapinternet.com
734-480-9961