You are here: Re: [PHP] Session Vars and Performance « PHP « IT news, forums, messages
Re: [PHP] Session Vars and Performance

Posted by Greg Donald on 02/18/05 15:46

On Fri, 18 Feb 2005 08:56:59 +0100, Marek Kilimajer <lists@kilimajer.net> 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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация