Re: session question

From: Date: Thu, 21 Jun 2001 13:47:52 +0000
Subject: Re: session question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54736@lists.php.net to get a copy of this message
There is a useful article here: http://phpbuilder.com/columns/ying20000602.php3?page=1 As to "up to a million users" logged in at once... don't you wantto have multiple redundant web servers running under a load balancer? If the rest of your system can handle that many concurrent users, then I doubt PHP sessions will be much more of a strain on your system... unless you're storing some huge amount of data in each session. Pete. > ""Moax Tech List"" <moaxtechlist@moax.com> wrote in message news:00b101c0fa15$e47c4320$9865fea9@moax01... > I am setting up a website with a need to use some sort of > session management for a large amount of users. I cannot > use typical file based session managment because at any > given time there could be up to a million users logged in > at once. (It is a LAMP linux/apache/php4/mysql system). > I am a bit confused though as how to go about this. The > user will be authenticated by verifying a username/password > combo in a database, and then a session created. > My question is this: > After authentication, which type of session managment > should I use? I mean, just do the standard php stuff with > the session_ functions? (wo'nt this be bad with the # of > simoltaneous users i need to support, because of the # of > files on the server?) Or, shall I use something more complex > like PHPLIB or create my own scheme using mysql? Is > there any exisiting code/functions that can make creating > my own scheme easier in order to support mysql or am i > way off with this question? I just need a bit of direction > here and any help is appreciated. Thanks!

« previous php.general (#54736) next »