Re: user managing with mysql+sessions

From: Date: Wed, 03 Jan 2001 23:20:22 +0000
Subject: Re: user managing with mysql+sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32559@lists.php.net to get a copy of this message
On Thu, 4 Jan 2001, [iso-8859-2] Tatár Tibor wrote: > hi! > > i'm trying to make a user-configurable site, where people must register/login if wants to > change the "looknfeel". the user's data will be stored in a mysql table. ok, > registration will check the data, and then it's stored in the table. and then the login. but > what to do, if the login was correct (i checked that the username and the pwd was correct). how can > i manage it with sessions. or is there another ways to store user data... > > thanks, > kojot > > ps.: if it was discussed earlier, just tell me (maybe when)... i'm new for this... > Well, you could do it with cookies, but you wouldn't want to. I have a class that I've written for storing session data in a MySQL table. It isn't as (or at all) transparent as PHP's built-in session support, but it gets the job done. -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.general (#32559) next »