Re: Sessions in a database?
| From: | Rasmus Lerdorf | Date: | Tue, 13 Aug 2002 17:06:57 +0000 |
| Subject: | Re: Sessions in a database? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112374@lists.php.net to get a copy of this message | ||
The main reason to store it in a database is to allow you to share that
session data across multiple web servers. In a load-balanced
architecture, this is essential.
-Rasmus
On Tue, 13 Aug 2002, Randy Johnson wrote:
> When i started to learn php there was talk of storing session information in
> a database rather than in a particular directory like /tmp
>
> Is it better to store the session data in a database rather than a
> directory? Is it faster if it is stored in the database?
>
> Randy
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>