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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php