"Kalle" <karl-thomas.schmidt@xxxxxx> wrote in message news:20041006185449.8428.qmail@xxxxxxxxxxxxxxx > Hi @ all, > > where can I find a working example that shows me how to implement PHPSESSION > with MySQL as stor? > > tia Hi, I'm using PEAR's HTTP_Session in combination with PEAR::DB: http://pear.php.net/package/DB http://pear.php.net/package/HTTP_Session Just set those two packages up, create a session table (see HTTP_Session/Container/DB.php for the schema) and set this HTTP_Session option: HTTP_Session::setContainer('DB', array('dsn' => $dsn, 'table' => 'sessions', 'autooptimize' => true)); ...and off you go. Regards, Torsten Roehr -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php