On Fri, 18 Feb 2005 08:56:59 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > The code misses one important thing - row locking. For concurent > requests, sess_open must block until the first request does > sess_close(). So you need to use InnoDB's row locking or > application-level GET_LOCK() and RELEASE_LOCK().
InnoDB wasn't available in MySQL when I put that code together. I got the base code from: http://php.net/manual/en/function.session-set-save-handler.php and tweaked it to use MySQL. If you need a row level locking capable version, have at it. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php